FindSoftware

io-ts

TypeScript runtime type system whose codecs decode, encode and type-check values while the program runs.

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

Current major version
26
Last release
2024-12-107

Adoption

GitHub stars
6,8122
npm downloads a week
3,877,2248
Contributors
339
Dependent repositories
44,49610
Dependent packages
1,41610

Why these figures do not compare

Sources

  1. 2026-11-16: links, Categories
    gcanti.github.io/io-ts/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/gcanti/io-ts
  3. 2026-11-16: links, Install with
    github.com/gcanti/io-ts/blob/master/README.md
  4. 2026-11-16: Maintainer, License
    github.com/gcanti/io-ts/blob/master/LICENSE
  5. 2026-11-16: First release
    api.github.com/repos/gcanti/io-ts/commits/0.0.1
  6. 2026-11-16: Current major version
    api.github.com/repos/gcanti/io-ts/releases
  7. 2026-11-16: Last release
    api.github.com/repos/gcanti/io-ts/releases/latest
  8. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/io-ts
  9. 2026-11-16: Contributors
    api.github.com/repos/gcanti/io-ts/contributors?per_page=1
  10. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/io-ts

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON