Skip to content
JS
Comparison

json-schema-to-ts vs io-ts

TypeScript toolingPackage data 25 Sept 2026
json-schema-to-tsv3.1.1, 29 Aug 2024

Infer typescript types from your JSON schemas!

$ npm install json-schema-to-ts
io-tsv2.2.22, 10 Dec 2024

TypeScript runtime type system for IO decoding/encoding

$ npm install io-ts
Metricjson-schema-to-tsio-tsDifference
Weekly downloads24,914,8072,049,283json-schema-to-ts 12.2x higher
12-month download growth+962%+22%json-schema-to-ts +940 pts
Gzip size---
Minified size---
Dependencies20json-schema-to-ts 2 more
Unpacked size119 kB449 kBjson-schema-to-ts 3.8x smaller
Latest release3.1.1, 29 Aug 20242.2.22, 10 Dec 2024io-ts 3 months more recent
Releases, last 12 months00Same
First published14 Jul 20201 Feb 2017io-ts 3.4 years earlier
GitHub stars1,7836,815io-ts 3.8x higher
Open issues23140io-ts 117 more
Open pull requests921io-ts 12 more
Contributors---
Commits, last 52 weeks20json-schema-to-ts 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.

json-schema-to-ts24.9m latest weekio-ts2m 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.

json-schema-to-ts

Major versions
  1. 0.1.014 Jul 2020
  2. 1.0.06 Sept 2020
  3. 2.0.09 Apr 2022
  4. 3.0.020 Dec 2023
Last 5 releases
  1. 3.1.129 Aug 2024
  2. 3.1.04 May 2024
  3. 3.0.110 Mar 2024
  4. 3.0.020 Dec 2023
  5. 2.12.018 Dec 2023
58 releases in total, 0 in the last 12 months

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
json-schema-to-ts

-

io-ts

-

json-schema-to-ts

-

io-ts

-

  • Need no runtime dependenciesio-ts (json-schema-to-ts has 2, io-ts has 0)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementjson-schema-to-ts: >=16; io-ts: none declared (engines field in package.json)
  • Need the more recent releaseio-ts (2.2.22 on 10 Dec 2024 vs 3.1.1 on 29 Aug 2024)
  • Higher weekly npm downloadsjson-schema-to-ts (24.9m vs 2m)

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.

Indexability: Indexed.