typescript
Lightweight fuzzy-search library, with zero dependencies.
Fuse.js is a lightweight, zero-dependency fuzzy-search library written in TypeScript. It works in the browser and on the server, and is designed for searching small-to-medium datasets on the client side where you can't rely on a dedicated search backend.
A production-grade, zero-configuration preset for
Ultracite is a zero-config preset for ESLint, Biome, and Oxlint that helps teams and AI write consistent, type-safe code.
Components in Markdown.
A fast, streaming-ready markdown parser with component support for Vue, React, Svelte, HTML and ANSI terminal.
Type-Safe Errors for JS & TypeScript. Encode failure into your program.
This package contains a Result type that represents either success (Ok) or failure (Err).
Related contents:
Tiny engine for 3D voxel scenes rendered to SVG — boolean ops, oblique/perspective cameras, zero dependencies. Inspired by the geometric cardboard sculptures of Erwin Heerich.
heerich.js is a minimalist JavaScript engine that constructs 3D voxel compositions and distills them into pristine SVG. By extruding volumes, carving negative space, and applying boolean operations, you wield a programmatic chisel—projecting complex spatial arrangements into a flat, resolution-independent vector canvas.
Pure JavaScript/TypeScript library for multiline text measurement & layout. Fast, accurate & supports all the languages you didn't even know about. Allows rendering to DOM, Canvas, SVG and soon, server-side.
Pretext side-steps the need for DOM measurements (e.g. getBoundingClientRect, offsetHeight), which trigger layout reflow, one of the most expensive operations in the browser. It implements its own text measurement logic, using the browsers' own font engine as ground truth (very AI-friendly iteration method).
Structure LLM Outputs with Ease. Structured outputs powered by LLMs.
The simplest way to extract structured data from LLMs with type safety and validation.
Get reliable JSON from any LLM. Built on Pydantic for validation, type safety, and IDE support.
Open Source Video Player.
open source media player framework for Web and React. Modern, modular, and composable media player framework for Web and React.
Related contents:
The first UI framework for the agentic era — tiny, performant, with WASM sandboxes for safe code execution.
A tiny, blazing-fast, zero dependency, type-safe framework with no build step required.
ArrowJS ships with the ability to isolate component logic inside Web Assembly sandboxes while rendering full inline DOM directly in your app — no iframes, no pre-defined UI components.
Related contents:
Open-source payment orchestration for TypeScript. Open-source TypeScript toolkit that unifies multiple payment providers behind a single, extensible API.
PayKit is a payments orchestration framework for TypeScript. It sits between your app and payment providers like Stripe or PayPal, giving you a unified API. Webhooks are verified and normalized automatically. Your database owns the subscriptions, invoices, and usage records — no provider lock-in.
Related contents:
A unified TypeScript SDK for building chat bots across Slack, Microsoft Teams, Google Chat, Discord, Telegram, GitHub, Linear, and WhatsApp. Write your bot logic once, deploy everywhere.
Related contents:
The open protocol for machine-to-machine payments. Charge for API requests, tool calls, or content—agents and apps pay per request in the same HTTP call.
TypeScript CLI Framework for Bun.
A TypeScript-first, Bun-native CLI framework with composable modules.
Most CLI tools in the JavaScript ecosystem are either minimal arg parsers that leave you wiring everything together, or heavyweight frameworks that bring more complexity than you need. Crust sits in the sweet spot: more structured than a bare parser, lighter than a full framework, and designed so you only pull in what you actually use.
🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API.
Related contents:
Unified Security Platform from Code to Runtime.
Protect against malicious code installed via npm, yarn, pnpm, npx, and pnpx with Aikido Safe Chain. Free to use, no tokens required.
Lightweight, composable MCP framework for TypeScript.
A small, fetch-first implementation of the Model Context Protocol (MCP) server APIs.
mcp-lite is a ground-up rewrite of the TypeScript MCP SDK. It keeps only the pieces you need to stand up a server: JSON-RPC handling, typed tool definitions, and an HTTP + SSE transport that works anywhere Request and Response are available (Node, Bun, Cloudflare Workers, Deno, Supabase Edge Functions, browsers with Service Workers).
The version control system for AI agents. Embeddable version control system for AI agents.
Lix is a version control system that can be imported as a library. Use it to, for example, enable human-in-the-loop workflows for AI agents like diffs and reviews.
OpenAPI to TypeScript in seconds.
Generate production-ready SDKs and validators from your OpenAPI spec. Used by Vercel, OpenCode, and PayPal.
🌀 OpenAPI to TypeScript codegen. Production-ready SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
Related contents:
Bringing stdlibs of other programming languages to TypeScript for fun.
Locutus is ~500 TypeScript implementations of standard library functions from PHP, Go, Python, Ruby, C, and more. Each function is individually importable and tree-shakeable.
Most of these started as rainy Sunday afternoon puzzles. Some are genuinely useful. Some are just fun to write. All of them are a way to learn how different languages solve the same problems.
Full NumPy, in TypeScript/JavaScript (94% coverage).
The most comprehensive NumPy implementation for TypeScript and JavaScript. Write numerical computing code with the same API you already know from Python — fully type-safe, tree-shakeable, and validated against NumPy itself.
Production-Ready Full-Stack Framework.
CedarJS is a stable, opinionated full-stack framework that integrates React, GraphQL, and Prisma into a cohesive system. Don't waste weeks on boilerplate—use the foundation trusted for production-grade applications.
Minimal PDF creation library. <400 LOC, zero dependencies, makes real PDFs.
A TypeScript implementation of the age file encryption format, available as an npm package or as a bundled .js file.
Related contents:
Slow down, pause, or speed up time of any web content.
Debug animations, study cool demos, and make games easier or harder.
Build ultra fast, tiny, cross-platform desktop apps.
Everything you need to build ultra fast, tiny, cross-platform desktop applications with TypeScript.
Related contents:
Strongly typed queries for PostgreSQL and TypeScript
pg-typesafe generates TypeScript types for PostgreSQL queries. It does so with no runtime dependencies, and zero additional verbosity.
A Complete WebGPU Game Engine for Browser & Desktop Arcade Oriented.
ArcadeGPU is a high performance WebGPU game engine inspired by classic techniques that made retro games legendary.
Related contents:
PineTS is a TypeScript implementation of the Pine Script language, allowing you to write trading indicators and strategies using TypeScript while leveraging the power of Pine Script’s execution model and functions.
Related contents:
Pretty logs in JavaScript!
Simple, powerful, and pretty. Make and improve your logs with kittylog.
KittyLog is a JavaScript library that makes your logs visually appealing and easy to understand. It helps organize information clearly and adds colors and styles to make messages stand out.
Simple and modern email sending library
Universal interface for emailing across runtimes.
Upyo is a simple and cross-runtime library for sending email messages using SMTP and various email providers. It works on Node.js, Deno, Bun, and edge functions.
Access the system clipboard (copy/paste).
Cross-platform. Supports: macOS, Windows, Linux (including Wayland), OpenBSD, FreeBSD, Android with Termux, and modern browsers.
The PDF library TypeScript deserves
Parse, modify, sign, and generate PDFs with a modern TypeScript API. The only library with incremental saves that preserve digital signatures.
Related contents:
API mocking library for browser and Node.js. Industry standard API mocking for JavaScript.
Mock Service Worker is an API mocking library that allows you to write client-agnostic mocks and reuse them across any frameworks, tools, and environments.
Related contents:
A modern data client for React & tRPC
Inspired by Relay and GraphQL, fate combines view composition, normalized caching, data masking, Async React features, and tRPC's type safety.
Type-safe combinatorial CLI parser for TypeScript.
Express CLI constraints in code structure, not validation logic. Optique is a parsing library that focuses on extracting and validating command-line arguments. It doesn't dictate your application's structure, handle command execution, or provide scaffolding—it simply transforms command-line input into well-typed data structures.
Beautiful, open source, WebGPU-based charting library.
ChartGPU is a TypeScript charting library built on WebGPU for smooth, interactive rendering—especially when you have lots of data.
🚀 Go Faster. Go Typed.
Think of Rslint as Rust Clippy but for TypeScript — more like a TypeScript extension than an ESLint plugin.
Rslint is a high-performance JavaScript and TypeScript linter written in Go. It offers strong compatibility with the ESLint and TypeScript-ESLint ecosystem, allowing for seamless replacement, and provides lightning-fast linting speeds.
The Concise TypeScript Book provides a comprehensive and succinct overview of TypeScript's capabilities. It offers clear explanations covering all aspects found in the latest version of the language, from its powerful type system to advanced features. Whether you're a beginner or an experienced developer, this book is an invaluable resource to enhance your understanding and proficiency in TypeScript.
The type-safe SQL query builder for TypeScript.
Kysely (pronounce “Key-Seh-Lee”) is a type-safe and autocompletion-friendly TypeScript SQL query builder. Inspired by Knex.js. Mainly developed for Node.js but also runs on all other JavaScript environments like Deno, Bun, Cloudflare Workers and web browsers.
Related contents:
Complete media toolkit.
Pure TypeScript media toolkit for reading, writing, and converting video and audio files, directly in the browser.
A JavaScript library for reading, writing, and converting video and audio files. Directly in the browser, and faster than anybunny else.
Related contents:
A GraphQL.js validation rule for limiting the depth (including list depth) of GraphQL operations
The ultimate Object Relational Mapper for Node.js, Bun and Deno, offering seamless integration with a variety of popular databases. Orange ORM supports both TypeScript and JavaScript, including both CommonJS and ECMAScript.
A lightweight, PostgreSQL-backed job queue. Handle background jobs with ease.
DataQueue allows you to utilize your existing PostgreSQL database to process background jobs. No need for additional infra or services.
A lightweight, PostgreSQL-backed job queue for Node.js/TypeScript projects. Schedule, process, and manage background jobs with ease. Perfect for web apps (Next.js, etc.) deployed to serverless platforms like Vercel, AWS Lambda, etc.
🗄 Zero dependency streaming tar parser and writer for every JavaScript runtime. Built with the browser-native Web Streams API for performance and memory efficiency.
Lightweight type coercion library.
Of Coerce! is a lightweight, near-zero overhead alternative to Zod and Valibot.
Unlike these libraries, Of Coerce! focuses on a single task: ensuring the data corresponds to the types.
It uses built-in JavaScript features to coerce whatever you pass to it, which makes it the fastest and the most lightweight solution (full library is 381B!).
The open protocol for real-time sync to client applications.
HTTP-based durable streams for streaming data reliably to web browsers, mobile apps, and native clients with offset-based resumability.
Durable Streams provides a simple, production-proven protocol for creating and consuming ordered, replayable data streams with support for catch-up reads and live tailing.
A JavaScript toolkit that saves you time and scales with your development process. Provides everything you need to build a Web app. Language utilities, UI components, and more, all in one place, designed to work together perfectly.
Related contents:
Svelte Plotting Framework.
The best visualizations are built with Svelte. A Svelte-native visualization framework based on the layered grammar of graphics principles.
interactive, collaborative html elements with a single data attribute.
playhtml is an open-source library for designing communal web experiences by enhancing web elements with real-time, collaborative interactivity.
Why does the internet feel lonely when we increasingly spend much of our time on it? I think it's because most of the internet is a solitary experience, by design: personal algorithmic feeds, content-focused websites, no indicator of who else is here with us right now.
Related contents:
A fast, framework-agnostic undo/redo core powered by Mutative JSON Patch.
A fast, framework-agnostic undo/redo library that stores only changes, not full snapshots.
Travels gives your users the power to undo and redo their actions—essential for text editors, drawing apps, form builders, and any interactive application. Unlike traditional undo systems that copy entire state objects for each change, Travels stores only the differences (JSON Patches), making it 10x faster and far more memory-efficient.
Type-safe Composable CSS.
From simple UI styles to full Design Systems, write code using Styleframe’s powerful TypeScript CSS API — AI-ready by design. Write type-safe, composable, future-proof Design Systems code using styleframe's powerful TypeScript CSS API.
Guts is a code generator that converts Golang types to Typescript. Useful for keeping types in sync between the front and backend.
guts is a tool to convert golang types to typescript for enabling a consistent type definition across the frontend and backend. It is intended to be called and customized as a library, rather than as a command line executable.
#1 Fastest Bun Framework — 19,200 req/s. The smallest, fastest backend framework ever made.
Valdi is a cross-platform UI framework that delivers native performance without sacrificing developer velocity.
Valdi is a cross-platform UI framework that delivers native performance without sacrificing developer velocity. Write your UI once in declarative TypeScript, and it compiles directly to native views on iOS, Android, and macOS—no web views, no JavaScript bridges.
OpenTUI is a library for building terminal user interfaces (TUIs).
OpenTUI is a TypeScript library for building terminal user interfaces (TUIs). It is currently in development and is not ready for production use. It will be the foundational TUI framework for both opencode and terminaldotshop.
TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
Related contents:
Version control for your data. Automerge is a local-first sync engine for multiplayer apps that works offline, prevents conflicts, and runs fast.
Related contents:
audio waveform player JavaScript library.
Wavesurfer.js is an open-source audio visualization library for creating interactive, customizable waveforms.
Wavesurfer.js is an interactive waveform rendering and audio playback library, perfect for web applications. It leverages modern web technologies to provide a robust and visually engaging audio experience.
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in millions of websites, including some of those you visit daily.
Related contents: