Skip to content

Get Started

tsu is an opinionated collection of TypeScript utility functions that emerged from patterns written repeatedly across projects.

Installation

Install with your favourite package manager:

sh
npm install tsu
sh
pnpm add tsu
sh
yarn add tsu
sh
bun install tsu

Import as required:

ts
// ESM
import { ... } from 'tsu'
ts
// CommonJS
const { ... } = require('tsu')

Released under the MIT License.