# io-ts: 3.8 out of 10

Keep, but not for new work. 10th of 10 in [Validation libraries](https://elestia.ai/opensource/validation/index.md).

io-ts is the original TypeScript runtime-codec library built on fp-ts. Its stable API still works, but nothing has been committed or released since December 2024, and its author now works on Effect, whose Schema takes the same codec approach. Keep it where it already runs; for new work pick Zod or Valibot, or Effect Schema if you want the same functional style.

**Best for:** Existing fp-ts codebases that already use io-ts codecs and are not yet ready to migrate to Effect Schema.

## Scores

- **Overall: 3.8** (likely 2.8 to 4.9)
  - Claude Opus 5.5 (3.0): The stable API works and is safe enough. But development has stopped, its author has moved to Effect, and its download share is shrinking. Zod and Valibot are better for most people, and Effect Schema is the natural home for io-ts's functional codec style, so keep io-ts only where it already runs.
  - GPT-6.2 Sol (4.5): Keep io-ts where its stable codecs already fit an fp-ts pipeline. For most new projects, Zod offers two-way codecs, simpler error handling, and much more active maintenance. The long release gap and below-median download growth weigh heavily, though teams already committed to fp-ts can still get value from its design.
- **Needed by many: 5.2** (likely 4.1 to 6.8)
  - Claude Opus 5.5 (5.0): Most TypeScript projects need to validate data. io-ts's take on it, though, assumes fp-ts and functional programming, which narrows its audience to a clear minority. It runs on any runtime and is not tied to a framework.
  - GPT-6.2 Sol (5.3): Runtime validation is useful wherever apps receive API responses, form inputs, or configuration. io-ts works across frameworks, though its fp-ts dependency and functional error handling make it a natural fit for a smaller group. Frontend survey data only partly reflects server-side and internal tooling needs.
- **Helps a lot: 6.0** (likely 5.0 to 7.1)
  - Claude Opus 5.5 (5.0): The stable codec API is correct and well typed, and it handles both decoding and encoding. It needs fp-ts, error reporting is verbose, and the newer Decoder, Codec and Schema modules were left experimental. Zod, Valibot and Effect Schema now do the same job with better ergonomics, more features and better AI-agent familiarity.
  - GPT-6.2 Sol (7.0): Stable 2.2.22 has composable codecs, type inference, and explicit decode failures. In one independent valid-input benchmark, it parsed faster than Zod 4.4.3 and Valibot 1.4.2, while compiled TypeBox was faster still. PathReporter needs extra work for field-level errors, and the experimental modules add another API for developers and coding agents to navigate. Direct evidence on coding-agent accuracy and performance on complex schemas is limited.
- **Holds up over time: 2.4** (likely 1.4 to 3.6)
  - Claude Opus 5.5 (2.0): There have been no commits or releases since December 2024, and the Scorecard Maintained check is 0. The author joined Effect when fp-ts merged into it, and Effect Schema is widely treated as the successor. The repository is not archived, and the stable API is frozen and unlikely to break, which keeps the score above zero.
  - GPT-6.2 Sol (2.8): The repository is open, but it recorded zero commits and releases in the last year, and the last patch shipped in December 2024. There is one listed npm maintainer, and the Standard Schema request remains open without a milestone while peers such as Zod and Valibot ship regularly. The mature stable API may keep working for existing users, but the timing of future compatibility fixes is uncertain.
- **Used widely: 4.4** (likely 3.4 to 5.5)
  - Claude Opus 5.5 (4.0): Downloads are about 15.2M every 4 weeks, up from 7.2M a year ago. That ratio of 2.1 is well below the 4.1 median, so io-ts is losing ground. Its 44k dependent repositories come mostly from older fp-ts-era codebases, and it gets almost no new attention: 0 Hacker News stories and 0 Bluesky posts. Zod's downloads are more than 100 times larger.
  - GPT-6.2 Sol (4.8): Ecosyste.ms found about 44,500 dependent repositories and 1,400 packages, and GitHub shows about 6,800 stars. Four-week npm installs rose from 7.2 million to 15.2 million, or 2.12 times, well below the 4.1 times catalog median and Zod’s 8.4 times. That suggests a sizable installed base losing relative ground. Repeat and transitive installs, partial repository coverage, and sparse recent social signals make new adoption hard to estimate.
- **Vouched for: 3.9** (likely 2.8 to 5.5)
  - Claude Opus 5.5 (3.0): io-ts was influential: Zod credits it, and Effect is led in part by its author. Current independent endorsements are few, though, and comparisons now mostly point readers to Zod or Valibot. Migration guides away from it (Valibot, Effect) show where users are going.
  - GPT-6.2 Sol (4.7): Thoughtworks reported successful use on TypeScript projects in 2022, and React Hook Form still provides a dedicated resolver. BitGo maintains a fork, and roughly six in ten io-ts users in the 2024 State of Frontend survey reported liking it, from a small group of respondents. These signals show real use, with limited recent production evidence for the upstream release.
- **Safe: 6.1** (likely 4.5 to 7.2)
  - Claude Opus 5.5 (6.0): It has no advisories, no runtime dependencies besides the fp-ts peer, and an MIT licence. The OpenSSF Scorecard is a weak 3.8: branch protection, token permissions, pinned dependencies, SAST and the security policy all score 0. An unmaintained package also means a slow response if a problem appears.
  - GPT-6.2 Sol (6.1): The MIT-licensed package has zero recorded OSV advisories and a small dependency surface, with fp-ts as its only declared runtime peer. Its OpenSSF Scorecard is 3.8, with weak code review and zero scores for branch protection and workflow token permissions. The repository has no security policy, and one listed npm maintainer and the long release gap make future patch response uncertain.

## Good

- Real codecs: a type can both decode and encode, and the TypeScript type is derived from the codec.
- Fits naturally with fp-ts Either and pipe-based code.
- No runtime dependencies besides the fp-ts peer, and no known security advisories.
- Its stable API has not changed for years, so existing code does not break.

## Bad

- No commits or releases since December 2024, and 140 issues and 21 pull requests are still open.
- It needs fp-ts, and its functional style is a steep learning curve for most teams.
- The newer Decoder, Codec and Schema modules stayed experimental and were never stabilized.
- Its integration ecosystem (forms, OpenAPI, tRPC) is small next to Zod's, and its error reports are verbose.

## The numbers

- Downloads, 4 weeks: 15M
- In a year: ×2.1
- GitHub stars: 6.8k
- Commits, 12 months: 0
- Last npm release: Dec 2024
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/gcanti/io-ts
- npm: https://www.npmjs.com/package/io-ts

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
