@positronstudio/ts-utils@0.1.0
latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
47%
Published
3 months ago (0.1.0)
@positron/ts-utils
A collection of typescript tools.
is
and has
functions are validators that will return a boolean value. They work as typescript type guards.
assert
functions throw if the assertion is false. They work as typescript assertions.
Add Package
deno add jsr:@positronstudio/ts-utils
Import symbol
import * as mod from "@positronstudio/ts-utils";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@positronstudio/ts-utils";
Add Package
npx jsr add @positronstudio/ts-utils
Import symbol
import * as mod from "@positronstudio/ts-utils";
Add Package
yarn dlx jsr add @positronstudio/ts-utils
Import symbol
import * as mod from "@positronstudio/ts-utils";
Add Package
pnpm dlx jsr add @positronstudio/ts-utils
Import symbol
import * as mod from "@positronstudio/ts-utils";
Add Package
bunx jsr add @positronstudio/ts-utils
Import symbol
import * as mod from "@positronstudio/ts-utils";