TypeScript libraries
28 libraries across 6 topics
28 libraries
Zod
Zod is a TypeScript-first schema declaration and validation library. One schema produces both the runtime check and the static type, so the two can never drift apart.
Developer Utilities3 examplesValibot
Valibot is a schema validation library with an API similar to Zod's but built around tree-shakeable functions, producing dramatically smaller client bundles.
Developer Utilities3 examplesTypeBox
TypeBox builds JSON Schema objects that also carry TypeScript types, so one definition serves runtime validation, static typing and OpenAPI documentation.
Developer Utilities3 examplestRPC
tRPC gives you end-to-end type safety between a TypeScript server and client with no code generation, no schema files and no build step.
Web & HTTP3 examplesPrisma
Prisma is a next-generation ORM with a declarative schema, generated type-safe client, and a migration system that produces reviewable SQL.
Databases & Caching3 examplesDrizzle ORM
Drizzle is a TypeScript ORM whose query builder mirrors SQL closely, with no code generation step and a very small runtime suitable for serverless and edge environments.
Databases & Caching3 examplesKysely
Kysely is a type-safe SQL query builder for TypeScript. It is not an ORM — you write SQL structure, and the types follow your database schema exactly.
Databases & Caching3 examplesNestJS
NestJS is a structured Node.js framework built on TypeScript decorators, with dependency injection, modules and a strong architectural convention.
Web & HTTP3 examplests-pattern
ts-pattern brings exhaustive pattern matching to TypeScript, with full type narrowing and a compile-time guarantee that every case is handled.
Developer Utilities3 examplesneverthrow
neverthrow provides a Result type for TypeScript, making failure part of a function's return type instead of an invisible exception.
Developer Utilities3 examplestypescript-eslint
typescript-eslint lets ESLint parse and lint TypeScript, including rules that use full type information to catch bugs a syntax-only linter cannot see.
Testing2 examplestsx
tsx runs TypeScript files directly with no build step, using esbuild for near-instant transpilation. It is the modern replacement for ts-node.
Build & Packaging2 examplestsup
tsup bundles TypeScript libraries with almost no configuration, producing ESM and CommonJS output plus declaration files in one command.
Build & Packaging3 examplestype-fest
type-fest is a collection of essential TypeScript utility types that the standard library does not include, from deep partials to JSON value types.
Developer Utilities2 examplesclass-validator
class-validator validates objects using decorators on class properties, and is the validation layer built into NestJS.
Developer Utilities2 examplestsyringe
tsyringe is a lightweight dependency injection container for TypeScript from Microsoft, using decorators and constructor injection.
Developer Utilities2 examplesopenapi-typescript
openapi-typescript generates TypeScript types from an OpenAPI schema, giving a typed client for an API you do not control.
Developer Utilities2 examplesSuperJSON
SuperJSON serialises JavaScript values that JSON cannot represent — Date, Map, Set, BigInt, undefined and RegExp — and restores them on the other side.
Serialization & Formats2 examplests-morph
ts-morph wraps the TypeScript compiler API in a navigable, mutable object model, making programmatic code analysis and refactoring practical.
Developer Utilities2 examplesTypeDoc
TypeDoc generates API documentation directly from TypeScript source and TSDoc comments, using the type information rather than parsing comments alone.
Developer Utilities2 examplesEffect
Effect is a library for building typed, composable programs where errors, dependencies and asynchrony all appear in the type signature.
Developer Utilities3 examplesfp-ts
fp-ts brings typed functional programming to TypeScript, with Option, Either, Task and the type-class hierarchy those structures come from.
Developer Utilities2 examplesTypeORM
TypeORM is a decorator-based ORM for TypeScript supporting both Active Record and Data Mapper patterns, with migrations, relations and a query builder.
Databases & Caching2 examplesMikroORM
MikroORM is a TypeScript ORM built on the Data Mapper, Unit of Work and Identity Map patterns, tracking entity changes and flushing them in one transaction.
Databases & Caching2 examplesInversifyJS
InversifyJS is a full-featured inversion of control container for TypeScript, with decorators, scopes, tagged bindings and middleware.
Developer Utilities2 examplests-jest
ts-jest is a Jest transformer that runs TypeScript tests with full type checking during the test run.
Testing2 examplesio-ts
io-ts provides runtime type validation built on fp-ts, representing decoding failures as an Either rather than by throwing.
Developer Utilities2 examplestsd
tsd tests your TypeScript type definitions, asserting that types resolve as intended and that invalid usage is correctly rejected.
Testing2 examples
Coverage by topic
What the TypeScript ecosystem is deepest in — a reasonable proxy for what the language is used for.
- Developer Utilities15
- Databases & Caching5
- Testing3
- Build & Packaging2
- Web & HTTP2
- Serialization & Formats1

