io-ts
Keep, but not for new work. 10th of 10 validation libraries.
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
Overall3.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 3.0, likely 2.0 to 4.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.
- github commitsLastYear: No activity in the last year.
- npm downloadsLast4Weeks: Growth of 2.1x, below the 4.1x median.
- dev.to/effect-ts/a-bright-future-for-effect-455m: The author's work has moved to Effect.
- dev.to/whoffagents/zod-vs-io-ts-vs-valibot-typescript-validation-library-comparison-for-2026-2npk: A 2026 comparison against Zod and Valibot.
GPT-6.2 Sol: 4.5, likely 3.5 to 5.7
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.
- gcanti.github.io/io-ts: Stable bidirectional codecs and fp-ts error handling
- zod.dev/codecs: Zod supports bidirectional codecs
- mironsoft.de/en/blog/typescript-io-ts-zod-valibot-comparison: Shows the difference in error handling and setup
- github commitsLastYear, latestRelease, peers, npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Nearly two years since release and slower growth than the catalog median
Needed by many5.2
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 7.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.
- npm-compare.com/io-ts,joi,yup,zod: Describes the functional, combinator style and a steeper learning curve than Zod.
- github.com/gcanti/io-ts: Runtime type system for IO decoding and encoding, built on fp-ts.
GPT-6.2 Sol: 5.3, likely 4.2 to 6.5
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.
- gcanti.github.io/io-ts: Composable codecs for domain models and request payloads
- mironsoft.de/en/blog/typescript-io-ts-zod-valibot-comparison: Practical fit for teams already using fp-ts
- tsh.io/state-of-frontend: Frontend survey shows a small io-ts user segment
Helps a lot6.0
How well does it do the job for those who need it?
Claude Opus 5.5: 5.0, likely 4.0 to 6.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.
- github.com/gcanti/io-ts: The README marks Decoder, Encoder, Codec, Eq and Schema as experimental and backward-incompatible.
- blog.devgenius.io/io-ts-vs-zod-in-typescript-which-validation-library-should-you-choose-440411b378d2: Comparison that favours Zod for ergonomics and ecosystem.
- zod-docs.vercel.app/comparison: Zod credits io-ts as the inspiration for its API.
GPT-6.2 Sol: 7.0, likely 5.9 to 8.1
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.
- gcanti.github.io/io-ts: Stable codec API, type inference, and default error output
- schemabenchmarks.dev/parsing?dataType=valid&errorType=allErrors&sortBy=mean&sortDir=descending: Specific valid-input parsing comparison
- github.com/gcanti/io-ts: Separate experimental APIs remain marked experimental
- reddit.com/r/javascript/comments/11lyamu/using_zod_typescript_for_more_than_user_input: Users report useful API validation and easier onboarding with Zod
Holds up over time2.4
Will it still be a good choice in two years?
Claude Opus 5.5: 2.0, likely 1.0 to 3.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.
- github commitsLastYear: 0 commits and 0 releases in the last year; last release 2.2.22 in December 2024.
- scorecard Maintained: Scored 0.
- dev.to/effect-ts/a-bright-future-for-effect-455m: fp-ts merges into Effect and Giulio Canti joins the Effect organization.
- dev.to/laurerc/how-we-migrated-our-codebase-from-fp-ts-to-effect-5bbk: A user reports migrating off fp-ts to Effect after the author moved.
GPT-6.2 Sol: 2.8, likely 1.7 to 4.1
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.
- github commitsLastYear, releasesLastYear, latestRelease, archived: Zero commits or releases in the past year
- peers: Zod and Valibot have recent releases and hundreds of commits
- github.com/gcanti/io-ts/releases/tag/2.2.22: Last patch fixed a tagged-union edge case
- github.com/gcanti/io-ts/issues/721: Standard Schema request open without a milestone
- socket.dev/npm/package/io-ts/maintainers/2.2.22: One listed npm maintainer
Used widely4.4
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.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.
- npm downloadsLast4Weeks: 15.2M now against 7.2M a year ago, a ratio of 2.1 against the 4.1 median.
- dependents repos: 44,496 repositories and 1,416 packages, mostly legacy use.
- bluesky posts: 0 posts, against 32 for Zod and 88 for ArkType.
GPT-6.2 Sol: 4.8, likely 3.7 to 6.0
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.
- dependents: 44,496 repositories and 1,416 packages in the sample
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 2.12 times year-over-year growth against a 4.1 times median
- github stars, peers, bluesky posts, hackerNews stories: 6,813 stars, faster-growing peers, and zero matched social items
Vouched for3.9
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 5.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.
- valibot.dev/guides/migrate-from-io-ts: Valibot publishes a migration guide away from io-ts.
- zod-docs.vercel.app/comparison: Historical influence credited by Zod.
- hackerNews stories: No matching stories.
GPT-6.2 Sol: 4.7, likely 3.5 to 6.0
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.
- thoughtworks.com/radar/languages-and-frameworks/io-ts: Thoughtworks teams reported successful use in 2022
- github.com/react-hook-form/resolvers: React Hook Form offers a dedicated io-ts adapter
- github.com/BitGo/io-ts: BitGo maintains its own compatibility fork
- tsh.io/state-of-frontend: 2.3% used and liked it, and 1.6% used and disliked it
Safe6.1
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 4.0 to 7.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.
- advisories total: No known advisories.
- scorecard score: 3.8, with many checks at 0.
- npm dependencies: 0 runtime dependencies, plus an fp-ts peer dependency.
- security.snyk.io/package/npm/io-ts: No direct vulnerabilities listed.
GPT-6.2 Sol: 6.1, likely 4.9 to 7.4
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.
- advisories total, npm dependencies, npm license: Zero OSV advisories, zero regular dependencies, and MIT license
- scorecard: 3.8 overall with weak repository controls
- github.com/gcanti/io-ts/blob/2.2.22/package.json: fp-ts is the only declared peer dependency
- github.com/gcanti/io-ts/security: No published GitHub advisory or security policy
- socket.dev/npm/package/io-ts/maintainers/2.2.22: One listed npm maintainer
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
- npm downloads, 4 weeks
- 15M ×2.1 in a year
- GitHub stars
- 6.8k
- Commits, 12 months
- 0
- npm version
- 2.2.22 Dec 2024
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 3.8 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (gcanti/io-ts), npm (io-ts), OSV and the OpenSSF Scorecard.