Skip to main content

Built and signed on GitHub Actions

Collection of commonly used types

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
4 months ago (0.4.0)
type alias JSONValue

Union type for any value that can be found in a JSON structure. This includes objects, arrays, and primitives.

Definition

Add Package

deno add jsr:@utility/types

Import symbol

import { type JSONValue } from "@utility/types";

---- OR ----

Import directly with a jsr specifier

import { type JSONValue } from "jsr:@utility/types";

Add Package

npx jsr add @utility/types

Import symbol

import { type JSONValue } from "@utility/types";

Add Package

yarn dlx jsr add @utility/types

Import symbol

import { type JSONValue } from "@utility/types";

Add Package

pnpm dlx jsr add @utility/types

Import symbol

import { type JSONValue } from "@utility/types";

Add Package

bunx jsr add @utility/types

Import symbol

import { type JSONValue } from "@utility/types";