Skip to main content

A collection of tools and utilities for Node.js and TypeScript.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
3 months ago (1.0.2)
type alias Nullable

Generic type for nullable values

Type Parameters

T = any

Definition

Null | T

Add Package

deno add jsr:@vulppi/toolbelt

Import symbol

import { type Nullable } from "@vulppi/toolbelt";

---- OR ----

Import directly with a jsr specifier

import { type Nullable } from "jsr:@vulppi/toolbelt";

Add Package

npx jsr add @vulppi/toolbelt

Import symbol

import { type Nullable } from "@vulppi/toolbelt";

Add Package

yarn dlx jsr add @vulppi/toolbelt

Import symbol

import { type Nullable } from "@vulppi/toolbelt";

Add Package

pnpm dlx jsr add @vulppi/toolbelt

Import symbol

import { type Nullable } from "@vulppi/toolbelt";

Add Package

bunx jsr add @vulppi/toolbelt

Import symbol

import { type Nullable } from "@vulppi/toolbelt";