Skip to content
TypeScript Lib logo

TypeScript Lib

Async helpers, errors, disposables, strings, paths, debug logging, value transformers and DOM helpers, usable in any TypeScript project.

One module per subpath

Every module is its own subpath, so a consumer loads only what it imports.

Runs anywhere

Node, a browser renderer and Obsidian, desktop and mobile. Platform-only modules say so in their name.

API contracts

Describe an API one module exposes to another, with a Standard Schema over every method’s arguments and result.