Skip to content
JS
Alternatives

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.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
json-schema-to-typescript
This package
2.6m+127%-828 days agoCommonJSBundled-
ts-json-schema-generator687.5k+116%-86 months agoCommonJSBundled-
json-schema-typed38.2m+3031%-010 months agoESM onlyBundled-
suretype29.4k-10%-33 years agoESM onlyBundled-
@accordproject/concerto-core60.6k--1016 days agoESM + CommonJSBundled-
zod211.9m+403%-011 days agoESM + CommonJSBundled-
@oh-my-pi/omptype64.5k--01 day agoESM onlyBundled-
superstruct4.7m+93%-02 years agoESM + CommonJSBundled-
@typeschema/core189.7k--02 years agoESM + CommonJSBundled-

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)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.