Package
json-schema-to-ts
Infer typescript types from your JSON schemas!
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 24.9m
- +962% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 2 years ago
- v3.1.1
- GitHub stars
- 1.8k
- 39 forks
- Open issues / PRs
- 23 / 9
- Contributors
- -
- Commits, last 52 weeks
- 2
Downloads
Last week 2026-09-15 to 2026-09-21
24,914,807 downloads last week, 121,775,576 in the last month. The 12-month change of +962% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 058 in total
- Latest version
- 3.1.1, 29 Aug 20242 years ago
- First published
- 14 Jul 2020
- Last push to GitHub
- 9 May 2026138 days before the snapshot
- Repository archived
- No
- Open issues
- 23
- Open pull requests
- 9
- Commits, last 52 weeks
- 2
- Dependents on npm
- 329
Major versions
- v3 first release 3.0.0, 20 Dec 2023
- v2 first release 2.0.0, 9 Apr 2022
- v1 first release 1.0.0, 6 Sept 2020
- v0 first release 0.1.0, 14 Jul 2020
Recent releases
| Version | Published |
|---|---|
| 3.1.1 | 29 Aug 2024 |
| 3.1.0 | 4 May 2024 |
| 3.0.1 | 10 Mar 2024 |
| 3.0.0 | 20 Dec 2023 |
| 2.12.0 | 18 Dec 2023 |
| 2.9.2 | 10 Aug 2023 |
| 2.9.1 | 27 May 2023 |
| 2.9.0 | 23 May 2023 |
| 2.8.2 | 10 May 2023 |
| 2.8.1 | 9 May 2023 |
| 2.8.0 | 17 Apr 2023 |
| 2.7.2 | 23 Feb 2023 |
| 2.7.1 | 22 Feb 2023 |
| 2.7.0 | 22 Feb 2023 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=16
- Runtimes
- -
- Unpacked size (npm)
- 119 kB
- Dependencies (2)
ts-algebra@babel/runtime
npm install json-schema-to-ts- jsDelivr
https://cdn.jsdelivr.net/npm/json-schema-to-ts@3.1.1/ - unpkg
https://unpkg.com/json-schema-to-ts@3.1.1/ - esm.sh
https://esm.sh/json-schema-to-ts@3.1.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| prisma-json-types-generator | 338.3k | - | 2 months ago | CommonJS | json-schema-to-ts vs prisma-json-types-generator |
| json-schema-to-typescript-lite | 629.1k | - | 1 year ago | ESM + CommonJS | - |
| @standard-schema/spec | 80.7m | - | 9 months ago | ESM + CommonJS | @standard-schema/spec vs json-schema-to-ts |
| @croct/json | 554.2k | - | 3 years ago | CommonJS | - |
| json-edit-react | 251.6k | - | 3 months ago | ESM + CommonJS | json-schema-to-ts vs json-edit-react |
| effect | 26.3m | - | 15 days ago | ESM + CommonJS | effect vs json-schema-to-ts |
| io-ts | 2m | - | 1 year ago | ESM + CommonJS | json-schema-to-ts vs io-ts |
| @yuku-toolchain/types | 3.4m | - | 1 day ago | ESM only | - |
Related
Indexability: Indexed.