Comparison
json-schema-to-typescript vs ts-json-schema-generator
Schema validationPackage data 25 Sept 2026
json-schema-to-typescriptv16.0.0, 28 Aug 2026
compile json schema to typescript typings
$ npm install json-schema-to-typescriptts-json-schema-generatorv2.9.0, 4 Mar 2026
Generate JSON schema from your Typescript sources
$ npm install ts-json-schema-generator| Metric | json-schema-to-typescript | ts-json-schema-generator | Difference |
|---|---|---|---|
| Weekly downloads | 2,622,807 | 687,512 | json-schema-to-typescript 3.8x higher |
| 12-month download growth | +127% | +116% | json-schema-to-typescript +11 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 8 | 8 | Same |
| Unpacked size | 287 kB | 920 kB | json-schema-to-typescript 3.2x smaller |
| Latest release | 16.0.0, 28 Aug 2026 | 2.9.0, 4 Mar 2026 | json-schema-to-typescript 6 months more recent |
| Releases, last 12 months | 1 | 4 | ts-json-schema-generator 3 more |
| First published | 31 Mar 2016 | 5 Sept 2017 | json-schema-to-typescript 17 months earlier |
| GitHub stars | 3,347 | 1,716 | json-schema-to-typescript 2.0x higher |
| Open issues | 76 | 105 | ts-json-schema-generator 29 more |
| Open pull requests | 64 | 25 | json-schema-to-typescript 39 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 138 | 144 | ts-json-schema-generator +4% |
| TypeScript types | Bundled | Bundled | Same |
| Module format | CommonJS | CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
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-typescript2.7m latest weekts-json-schema-generator687.5k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
json-schema-to-typescript
Major versions
- 0.1.031 Mar 2016
- 1.0.022 Jul 2016
- 2.0.08 Sept 2016
- 3.0.013 Oct 2016
- 4.0.022 Apr 2017
- 5.0.010 Nov 2017
- 6.0.019 Sept 2018
- 7.0.027 Jul 2019
- 8.0.030 Nov 2019
- 9.0.02 May 2020
- 10.0.029 Nov 2020
- 11.0.029 Jun 2022
- 12.0.023 Feb 2023
- 13.0.04 May 2023
- 14.0.020 Apr 2024
- 15.0.022 Jul 2024
- 16.0.028 Aug 2026
Last 5 releases
- 16.0.028 Aug 2026
- 15.0.414 Jan 2025
- 15.0.37 Nov 2024
- 15.0.230 Aug 2024
- 15.0.121 Aug 2024
117 releases in total, 1 in the last 12 months
ts-json-schema-generator
Major versions
- 0.9.05 Sept 2017
- 1.0.021 Mar 2022
- 2.0.013 Apr 2024
Last 5 releases
- 2.9.04 Mar 2026
- 2.7.04 Mar 2026
- 2.5.24 Mar 2026
- 2.5.04 Feb 2026
- 2.4.06 Apr 2025
148 releases in total, 4 in the last 12 months
json-schema-to-typescript
-
ts-json-schema-generator
-
json-schema-to-typescript
-
ts-json-schema-generator
-
- Module formatBoth CommonJS
- Need TypeScript types in the package itselfBoth
- Node.js version requirementjson-schema-to-typescript: >=16.0.0; ts-json-schema-generator: >=22.0.0 (engines field in package.json)
- Need the more recent releasejson-schema-to-typescript (16.0.0 on 28 Aug 2026 vs 2.9.0 on 4 Mar 2026)
- Higher weekly npm downloadsjson-schema-to-typescript (2.6m vs 687.5k)
Each line is generated from the data above.
- typebox vs ts-json-schema-generatorNo search data
json-schema-to-typescript: json-schema-to-typescript npm registry, json-schema-to-typescript npm downloads, json-schema-to-typescript GitHub. Data fetched 25 Sept 2026.
ts-json-schema-generator: ts-json-schema-generator npm registry, ts-json-schema-generator npm downloads, ts-json-schema-generator GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.