Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

ts-json-schema-generator

Generates JSON schemas from TypeScript types for validation and API documentation.

Prompts, structured output and evalsNPM

GitHubWebsite

1. License

License from npm.

github.com/vega/ts-json-schema-generator

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What ts-json-schema-generator does

Generates JSON schemas from TypeScript types for validation and API documentation.

ts-json-schema-generator popularity

42 / 100
Gid Score, #2848 overall
1.8M
downloads a week, npm
1,722
GitHub stars
ts-json-schema-generator: downloads per weeknpm, ts-json-schema-generator 1,763,157
ts-json-schema-generator: GitHub starsvega/ts-json-schema-generator 1,722

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How ts-json-schema-generator is used

  • ts-json-schema-generator joined the catalog on its public numbers (1,763,157 downloads a week on npm and 1,722 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 0 of them set up for AI coding agents.
  • The most used alternative in our scan is Swagger JSDoc (8 projects).
  • Projects that use it most often also use Vitest (100.0%), Playwright (JavaScript) (80.0%), cross-env (80.0%).

Often used with

In 100.0% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 100.0% of its projects

More about ts-json-schema-generator

Funding
  • Own page: https://app.hubspot.com/payments/GyPC972GD9Rt?referrer=PAYMENT_LINK

See all

More in Prompts, structured output and evals

Alternatives

ts-json-schema-generator This page

MITGid 421.8M/wk

Swagger JSDoc

Generate OpenAPI/Swagger documentation from JSDoc comments in code.

MITGid 492.1M/wk

Compare ts-json-schema-generator with another tool

Get started

Install it.

npm install ts-json-schema-generator

No step-by-step start for ts-json-schema-generator yet: we have not written its hand-checked card.