Skip to main content

@billy/tsu@0.4.0
Built and signed on GitHub Actions

Small utilities

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
10 months ago (0.4.0)

Typescript Utilities

Example Usage

import { checks } from "@billy/tsu";

const values = [1, 2, undefined, 3, 4, null, 5];
const filteredValules = values.filter(checks.hasValue); // [1, 2, 3, 4, 5]
Built and signed on
GitHub Actions
View transparency log

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@billy/tsu

Import symbol

import * as tsu from "@billy/tsu";
or

Import directly with a jsr specifier

import * as tsu from "jsr:@billy/tsu";

Add Package

pnpm i jsr:@billy/tsu
or (using pnpm 10.8 or older)
pnpm dlx jsr add @billy/tsu

Import symbol

import * as tsu from "@billy/tsu";

Add Package

yarn add jsr:@billy/tsu
or (using Yarn 4.8 or older)
yarn dlx jsr add @billy/tsu

Import symbol

import * as tsu from "@billy/tsu";

Add Package

npx jsr add @billy/tsu

Import symbol

import * as tsu from "@billy/tsu";

Add Package

bunx jsr add @billy/tsu

Import symbol

import * as tsu from "@billy/tsu";