io-ts
TypeScript runtime type system whose codecs decode, encode and type-check values while the program runs.
gcanti.github.io/io-ts/repositorydocs
io-ts is a TypeScript library for checking data while the program runs, against types the program defines. Each codec describes one type and can decode, encode and type-check values of that type. The stable API is documented in the module reference.
The library expects fp-ts to be installed beside it as a peer dependency.
Worth knowing
The project also ships experimental modules for decoding, encoding, codecs, equality and schemas. The README describes them as backward-incompatible with the stable modules and at risk of changing without notice.
Identity
- Status
- Active
- Maintainer
- Giulio Canti4
- Maintained by
- Individual
- First release
- 20175
Rendering and deploy
- Install with
- npm3
Releases
Adoption
Sources
- 2026-11-16: links, Categories
gcanti.github.io/io-ts/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/gcanti/io-ts - 2026-11-16: links, Install with
github.com/gcanti/io-ts/blob/master/README.md - 2026-11-16: Maintainer, License
github.com/gcanti/io-ts/blob/master/LICENSE - 2026-11-16: First release
api.github.com/repos/gcanti/io-ts/commits/0.0.1 - 2026-11-16: Current major version
api.github.com/repos/gcanti/io-ts/releases - 2026-11-16: Last release
api.github.com/repos/gcanti/io-ts/releases/latest - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/io-ts - 2026-11-16: Contributors
api.github.com/repos/gcanti/io-ts/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/io-ts