End-to-end typesafe APIs made easy
The exhaustive Pattern Matching library for TypeScript, with smart type inference
zap Pattern Matching in Typescript
Generate Algebraic Data Types and pattern matchers
Runtime type system for IO decoding/encoding
A collection of codecs and combinators for use with io-ts
Generate typescript interface definitions from SQL database schema
TS Docs | Reference docs for npm packages
Serializing/Deserializing - Transform
https://github.com/dkzlv/micro-transform
superjson: Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.
Runtime Parsing / (de)serializers
GitHub - moltar/typescript-runtime-type-benchmarks: π Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
lang.typescript.lib.zod
A typesafe validation & parsing library for TypeScript
Small, efficient and extendable runtype library for Typescript
Runtime validation for static types
Function argument validation for humans
GitHub - sandulat/routes-gen: Framework agnostic CLI tool for routes parsing and generation of a type-safe helper for safe route usage. πΊοΈ Remix driver included. πΏπ€
GitHub - fp-ts/schema
GitHub - arktypeio/arktype: TypeScript's 1:1 validator, optimized from editor to runtime
]
effect/packages/schema at main Β· Effect-TS/effect
Error Handling
Type-Safe Errors for JS & TypeScript
Very lightweight library with no dependencies to handle errors in a typed way
Simple type-safe errors for TypeScript
Checker
GitHub - dudykr/stc: Speedy TypeScript type checker