Skip to content
JS
Comparison

@standard-schema/spec vs json-schema-to-ts

TypeScript toolingPackage data 25 Sept 2026
@standard-schema/specv1.1.0, 15 Dec 2025

A family of specs for interoperable TypeScript

$ npm install @standard-schema/spec
json-schema-to-tsv3.1.1, 29 Aug 2024

Infer typescript types from your JSON schemas!

$ npm install json-schema-to-ts
Metric@standard-schema/specjson-schema-to-tsDifference
Weekly downloads80,710,92324,914,807@standard-schema/spec 3.2x higher
12-month download growth+892%+962%json-schema-to-ts +70 pts
Gzip size---
Minified size---
Dependencies02json-schema-to-ts 2 more
Unpacked size22 kB119 kB@standard-schema/spec 5.4x smaller
Latest release1.1.0, 15 Dec 20253.1.1, 29 Aug 2024@standard-schema/spec 16 months more recent
Releases, last 12 months10@standard-schema/spec 1 more
First published27 Sept 202414 Jul 2020json-schema-to-ts 4.2 years earlier
GitHub stars3,6351,783@standard-schema/spec 2.0x higher
Open issues2923@standard-schema/spec 6 more
Open pull requests139@standard-schema/spec 4 more
Contributors94--
Commits, last 52 weeks1852@standard-schema/spec 92.5x 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.

@standard-schema/spec80.7m latest weekjson-schema-to-ts24.9m 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.

@standard-schema/spec

Major versions
  1. 1.0.027 Jan 2025
Last 5 releases
  1. 1.1.015 Dec 2025
  2. 1.0.027 Jan 2025
2 releases in total, 1 in the last 12 months

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
@standard-schema/spec

-

json-schema-to-ts

-

@standard-schema/spec

-

json-schema-to-ts

-

  • Need no runtime dependencies@standard-schema/spec (@standard-schema/spec has 0, json-schema-to-ts has 2)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirement@standard-schema/spec: none declared; json-schema-to-ts: >=16 (engines field in package.json)
  • Need the more recent release@standard-schema/spec (1.1.0 on 15 Dec 2025 vs 3.1.1 on 29 Aug 2024)
  • Higher weekly npm downloads@standard-schema/spec (80.7m vs 24.9m)

Each line is generated from the data above.