Skip to content
JS
Comparison

io-ts vs runtypes

TypeScript toolingPackage data 25 Sept 2026
io-tsv2.2.22, 10 Dec 2024

TypeScript runtime type system for IO decoding/encoding

$ npm install io-ts
runtypesv7.0.5, 14 Aug 2026

Runtime validation for static types

$ npm install runtypes
Metricio-tsruntypesDifference
Weekly downloads2,049,283186,342io-ts 11.0x higher
12-month download growth+22%-1%io-ts +23 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size449 kB362 kBruntypes 24% smaller
Latest release2.2.22, 10 Dec 20247.0.5, 14 Aug 2026runtypes 20 months more recent
Releases, last 12 months0--
First published1 Feb 2017--
GitHub stars6,8152,701io-ts 2.5x higher
Open issues14024io-ts 116 more
Open pull requests211io-ts 20 more
Contributors---
Commits, last 52 weeks03runtypes higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

io-ts2m latest weekruntypes186.3k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

io-ts

Major versions
  1. 0.0.11 Feb 2017
  2. 1.0.012 Feb 2018
  3. 2.0.02 Jul 2019
Last 5 releases
  1. 2.2.2210 Dec 2024
  2. 2.2.213 Dec 2023
  3. 2.2.203 Dec 2022
  4. 2.2.196 Oct 2022
  5. 2.2.1829 Aug 2022
114 releases in total, 0 in the last 12 months

runtypes

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
io-ts

-

runtypes

-

io-ts

-

runtypes

-

  • Need no runtime dependenciesBoth
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Need the more recent releaseruntypes (7.0.5 on 14 Aug 2026 vs 2.2.22 on 10 Dec 2024)
  • Higher weekly npm downloadsio-ts (2m vs 186.3k)

Each line is generated from the data above.

io-ts: io-ts npm registry, io-ts npm downloads, io-ts GitHub. Data fetched 25 Sept 2026.
runtypes: runtypes npm registry, runtypes npm downloads, runtypes GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.