json-schema-to-typescript alternatives
8 packages that do the same job as json-schema-to-typescript: ts-json-schema-generator, json-schema-typed, suretype, @accordproject/concerto-core, zod, @oh-my-pi/omptype, superstruct, @typeschema/core. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| json-schema-to-typescript This package | 2.6m | +127% | - | 8 | 28 days ago | CommonJS | Bundled | - |
| ts-json-schema-generator | 687.5k | +116% | - | 8 | 6 months ago | CommonJS | Bundled | - |
| json-schema-typed | 38.2m | +3031% | - | 0 | 10 months ago | ESM only | Bundled | - |
| suretype | 29.4k | -10% | - | 3 | 3 years ago | ESM only | Bundled | - |
| @accordproject/concerto-core | 60.6k | - | - | 10 | 16 days ago | ESM + CommonJS | Bundled | - |
| zod | 211.9m | +403% | - | 0 | 11 days ago | ESM + CommonJS | Bundled | - |
| @oh-my-pi/omptype | 64.5k | - | - | 0 | 1 day ago | ESM only | Bundled | - |
| superstruct | 4.7m | +93% | - | 0 | 2 years ago | ESM + CommonJS | Bundled | - |
| @typeschema/core | 189.7k | - | - | 0 | 2 years ago | ESM + CommonJS | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Generate JSON schema from your Typescript sources
Compared with json-schema-to-typescript
- 3.8x fewer weekly downloads (687.5k vs 2.6m)
- Declares Node.js >=22.0.0 vs Node.js >=16.0.0
- Last release 4 Mar 2026 vs 28 Aug 2026
- 2.0x fewer GitHub stars (1.7k vs 3.3k)
JSON Schema TypeScript definitions with complete inline documentation.
Compared with json-schema-to-typescript
- 15x more weekly downloads (38.2m vs 2.6m)
- 0 dependencies vs 8
- ESM only vs CommonJS
- Declares no Node.js engine range vs Node.js >=16.0.0
- Last release 17 Nov 2025 vs 28 Aug 2026
- 29x fewer GitHub stars (117 vs 3.3k)
Typesafe JSON (Schema) validator with magic powers 🧙♂️
Compared with json-schema-to-typescript
- 89x fewer weekly downloads (29.4k vs 2.6m)
- 3 dependencies vs 8
- ESM only vs CommonJS
- Declares Node.js ^14.13.1 || >=16.0.0 vs Node.js >=16.0.0
- Last release 29 May 2023 vs 28 Aug 2026
- 6.6x fewer GitHub stars (505 vs 3.3k)
Core Implementation for the Concerto Modeling Language
Compared with json-schema-to-typescript
- 43x fewer weekly downloads (60.6k vs 2.6m)
- 10 dependencies vs 8
- ESM + CommonJS vs CommonJS
- Declares Node.js >=18 vs Node.js >=16.0.0
- Last release 8 Sept 2026 vs 28 Aug 2026
- 16x fewer GitHub stars (208 vs 3.3k)
TypeScript-first schema declaration and validation library with static type inference
Compared with json-schema-to-typescript
- 81x more weekly downloads (211.9m vs 2.6m)
- 0 dependencies vs 8
- ESM + CommonJS vs CommonJS
- Declares no Node.js engine range vs Node.js >=16.0.0
- Last release 13 Sept 2026 vs 28 Aug 2026
- 13x more GitHub stars (44k vs 3.3k)
ArkType-compatible runtime schema validation with lazy JIT compilation
Compared with json-schema-to-typescript
- 41x fewer weekly downloads (64.5k vs 2.6m)
- 0 dependencies vs 8
- ESM only vs CommonJS
- Declares Node.js >=20 vs Node.js >=16.0.0
- Last release 24 Sept 2026 vs 28 Aug 2026
- 9.9x more GitHub stars (33.2k vs 3.3k)
A simple and composable way to validate data in JavaScript (and TypeScript).
Compared with json-schema-to-typescript
- 1.8x more weekly downloads (4.7m vs 2.6m)
- 0 dependencies vs 8
- ESM + CommonJS vs CommonJS
- Declares Node.js >=14.0.0 vs Node.js >=16.0.0
- Last release 6 Jul 2024 vs 28 Aug 2026
- 2.1x more GitHub stars (7.1k vs 3.3k)
Universal adapter for schema validation
Compared with json-schema-to-typescript
- 14x fewer weekly downloads (189.7k vs 2.6m)
- 0 dependencies vs 8
- ESM + CommonJS vs CommonJS
- Declares no Node.js engine range vs Node.js >=16.0.0
- Last release 25 Aug 2024 vs 28 Aug 2026
- 7.4x fewer GitHub stars (451 vs 3.3k)
Indexability: Indexed.