Skip to content
JS
Package

ts-json-schema-generator

Generate JSON schema from your Typescript sources

v2.9.0, 4 Mar 2026MITCommonJSTypes: BundledSchema validationTypeScript tooling
$ npm install ts-json-schema-generator

Key numbers

As of 25 Sept 2026
Weekly downloads
687.5k
+116% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
8
Direct, from package.json
Last release
6 months ago
v2.9.0
GitHub stars
1.7k
239 forks
Open issues / PRs
105 / 25
Contributors
-
Commits, last 52 weeks
144

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.1m (25 Aug 2026)Low 167.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

687,512 downloads last week, 3,463,780 in the last month. The 12-month change of +116% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
4148 in total
Latest version
2.9.0, 4 Mar 20266 months ago
First published
5 Sept 2017
Last push to GitHub
2 Sept 202622 days before the snapshot
Repository archived
No
Open issues
105
Open pull requests
25
Commits, last 52 weeks
144
Dependents on npm
244

Major versions

  1. v2 first release 2.0.0, 13 Apr 2024
  2. v1 first release 1.0.0, 21 Mar 2022
  3. v0 first release 0.9.0, 5 Sept 2017

Recent releases

VersionPublished
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
2.3.05 Jun 2024
2.2.023 May 2024
2.1.123 Apr 2024
2.1.020 Apr 2024
2.0.113 Apr 2024
2.0.013 Apr 2024
1.5.18 Apr 2024
1.5.05 Dec 2023
1.4.127 Nov 2023
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.0.0
Runtimes
-
Unpacked size (npm)
920 kB
Dependencies (8)
globjson5tslibcommandertypescriptnormalize-path@types/json-schemasafe-stable-stringify
npm install ts-json-schema-generator
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ts-json-schema-generator@2.9.0/
  • unpkghttps://unpkg.com/ts-json-schema-generator@2.9.0/
  • esm.shhttps://esm.sh/ts-json-schema-generator@2.9.0
PackageWeekly downloadsGzipLast releaseModuleComparison
as-typed50.9k-4 years ago--
json-schema-typed38.2m-10 months agoESM only-
suretype29.4k-3 years agoESM only-
json-schema-to-typescript2.6m-28 days agoCommonJSjson-schema-to-typescript vs ts-json-schema-generator
papr16.8k-1 month agoESM only-
typebox8.2m-6 days agoESM onlytypebox vs ts-json-schema-generator
json-schema-merge-allof1.5m-5 years ago--
@stoplight/json-schema-merge-allof199.4k-2 years agoCommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.