1 مستودع
A library that validates and transforms external data into typed structures using composable codecs at runtime.
Distinct from Runtime Type Validation: Distinct from Runtime Type Validation: focuses on IO-specific decoding/encoding rather than general runtime type checking.
Explore 1 awesome GitHub repository matching programming languages & runtimes · IO Decoding and Encoding Type Systems. Refine with filters or upvote what's useful.
io-ts is a TypeScript runtime validation library that provides a composable codec system for decoding and encoding data at the boundaries of an application. It defines data schemas using structural types, where the shape of data determines its validity rather than nominal names, and produces runtime type guards from those definitions for efficient validation checks. The library is built around bidirectional codec mappings that combine decoding, encoding, and type checking into single reusable units. It supports a composable decoder pipeline where small validation steps can be chained together
Validates and transforms external data into typed structures using composable codecs at runtime.