vega/ts-json-schema-generator
Generate JSON schema from your Typescript sources observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 96
- Release rhythm 37
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 303
- age_days: 3379
- days_rel: 210
- days_push: 24
- n_releases_24m: 2
Adoption not part of the score
1714 stars · 238 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library and CLI tool that generates JSON Schema documents from TypeScript type definitions. It parses TypeScript source files via the compiler AST and produces standards-compliant JSON Schema, including JSDoc-derived descriptions.
Use cases
- generate schema from typescript types
- validate api payloads against typescript interfaces
- create schema for config files from ts types
- produce openapi-compatible schemas from typescript source
- cli tool to generate schema from a tsconfig project
- keep schema in sync with typescript code
When to choose
- your types are defined in TypeScript and you need JSON Schema as the source of truth for validation
- you want JSDoc comments carried into schema descriptions
- you need a programmable library plus a CLI in one package
When to avoid
- your types live in other languages like Python or Go
- you need OpenAPI documents rather than plain JSON Schema
- you want runtime type validation itself rather than schema generation
Facets
library · maturity active
parser serialization cli developer-tools developer-tools apis web-development files cli cross-platform -schema typescript schema-generator code-generation nodejs
1 source
- readme: https://github.com/vega/ts-json-schema-generator · fetched 2026-08-28 · fbf39f498f07
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vega/ts-json-schema-generator | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="vega/ts-json-schema-generator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem