awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
vega avatar

vega/ts-json-schema-generator

0
View on GitHub↗
1,708 stars·235 forks·TypeScript·MIT·12 views

Ts Json Schema Generator

Ts-json-schema-generator is a command-line tool and Node.js library that automatically generates standard JSON validation schemas directly from TypeScript source files and type definitions. Operating as a static code analyzer and schema compilation engine, it inspects type definitions and interfaces to understand structural data shapes without requiring runtime execution. It uses static program analysis by initializing a virtual compiler instance to resolve complex generic types, imports, and type relationships across source files.

The project translates extracted types into standard validation specifications through an AST-based type inspection and transformation pipeline. It provides extensibility through a formatter plugin system that intercepts the serialization of specific structural types, alongside custom syntax parser extensions that enable the interpretation of non-standard code constructs by plugging custom parsing rules directly into the early code analysis phase.

Users can operate the software via a declarative command-line interface using path glob patterns and configuration flags, or embed the generation routines programmatically within custom scripts and server programs. Additional configuration options allow direct control over compiler settings, custom parsing rules, and specialized schema output formatting.

Features

  • Schema Generators from Types - Extracts data structures directly from source code and compiles them into standard validation specifications.
  • Schema Compilers - Translates application type definitions into standardized validation documents as a schema compilation engine.
  • Schema Transformation Pipelines - Translates internal AST representations into standard validation documents through a modular transformation pipeline.
  • Library Wrappers - Runs schema generation routines programmatically inside custom Node.js scripts without relying on command-line wrappers.
  • Code Generators - Executes schema generation routines programmatically within custom Node.js scripts and server programs.
  • TypeScript Type-to-JSON Schema Generators - Builds standard JSON schema documents automatically from source files and type definitions without manual maintenance.
  • Tree Type Inspection - Inspects source code structures directly into semantic tree types without requiring runtime execution.
  • Static Type Resolvers - Analyzes type relationships across source files by initializing a virtual compiler instance to resolve complex generic types.
  • TypeScript Static Analysis - Performs static analysis on TypeScript type definitions and interfaces to inspect structural data shapes without runtime execution.
  • Custom Data Type Providers - Extends the transformation pipeline by registering custom formatters and parsers for specialized data structures.
  • Syntax Parser Interceptions - Interprets non-standard code constructs by plugging custom parsing rules directly into the early analysis phase.
  • Schema-to-Code CLI Generators - Executes build routines directly from the command line using path glob patterns and configuration flags.
  • Custom Parsing Rules - Interprets non-standard code constructs into recognizable types by adding custom parser rules during analysis.
  • Custom Type Schema Mappings - Defines custom schema output rules for specific data structures by registering supplementary formatters into the pipeline.
  • Plugin System Extensions - Intercepts the serialization of specific structural types through a customizable plugin formatting architecture.

Star history

Star history chart for vega/ts-json-schema-generatorStar history chart for vega/ts-json-schema-generator

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does vega/ts-json-schema-generator do?

Ts-json-schema-generator is a command-line tool and Node.js library that automatically generates standard JSON validation schemas directly from TypeScript source files and type definitions. Operating as a static code analyzer and schema compilation engine, it inspects type definitions and interfaces to understand structural data shapes without requiring runtime execution. It uses static program analysis by initializing a virtual compiler instance to resolve complex generic…

What are the main features of vega/ts-json-schema-generator?

The main features of vega/ts-json-schema-generator are: Schema Generators from Types, Schema Compilers, Schema Transformation Pipelines, Library Wrappers, Code Generators, TypeScript Type-to-JSON Schema Generators, Tree Type Inspection, Static Type Resolvers.

What are some open-source alternatives to vega/ts-json-schema-generator?

Open-source alternatives to vega/ts-json-schema-generator include: samchon/typia — Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation,… sinclairzx81/typebox — TypeBox is a JSON schema generator and TypeScript data validator. It functions as a type builder that creates… quicktype/quicktype — Quicktype is a multi-language model generation engine that converts JSON and GraphQL schemas into type-safe models and… nuitka/nuitka — Nuitka is a compilation framework that translates Python source code into C, enabling the creation of standalone… palantir/tslint — TSLint is an extensible static analysis tool that checks TypeScript source files against a configurable set of lint… lukeautry/tsoa — tsoa is a TypeScript API framework that synchronizes server routing, request validation, and API documentation through…

Open-source alternatives to Ts Json Schema Generator

Similar open-source projects, ranked by how many features they share with Ts Json Schema Generator.
  • samchon/typiasamchon avatar

    samchon/typia

    5,837View on GitHub↗

    Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation, serialization, and schema functions without requiring decorators or separate schema files. It generates optimized validation and serialization code during TypeScript compilation, producing dedicated functions for each type that eliminate runtime schema objects for faster execution. The project extends this core capability into several integrated areas. It generates fully typed client SDKs from NestJS controller source code, keeping server and client types synchronized automatically. It

    Go
    View on GitHub↗5,837
  • quicktype/quicktypequicktype avatar

    quicktype/quicktype

    13,761View on GitHub↗

    Quicktype is a multi-language model generation engine that converts JSON and GraphQL schemas into type-safe models and serialization code. It functions as a JSON to type generator and a GraphQL type generator, producing strongly typed classes and interfaces across a wide array of target programming languages. The system derives formal schemas from sample data and transforms these definitions into native language objects. This enables the synchronization of shared data models across diverse tech stacks and the development of type-safe interfaces for consuming external APIs. The engine utilize

    TypeScript
    View on GitHub↗13,761
  • sinclairzx81/typeboxsinclairzx81 avatar

    sinclairzx81/typebox

    6,759View on GitHub↗

    TypeBox is a JSON schema generator and TypeScript data validator. It functions as a type builder that creates compliant JSON schema definitions while providing a mechanism for synchronizing runtime validation logic with compile-time types. The project allows for the automatic derivation of static TypeScript interfaces from schema definitions to eliminate redundant type declarations. It converts complex type constructs into schema fragments and resolves static types to maintain consistency between data shapes and code. The system covers runtime type checking and data validation through the us

    TypeScriptjsonschematypescript
    View on GitHub↗6,759
  • nuitka/nuitkaNuitka avatar

    Nuitka/Nuitka

    14,938View on GitHub↗

    Nuitka is a compilation framework that translates Python source code into C, enabling the creation of standalone machine code binaries. By converting interpreted scripts into compiled executables, it removes the requirement for a language interpreter on the target machine and provides a mechanism for distributing Python applications as self-contained packages. The project distinguishes itself through advanced optimization techniques, including link-time code generation and profile-guided binary optimization, which improve execution speed by bypassing standard interpreted overhead. It manages

    Pythoncompilernuitkapackaging-tool
    View on GitHub↗14,938
See all 30 alternatives to Ts Json Schema Generator→

Curated searches featuring Ts Json Schema Generator

Hand-picked collections where Ts Json Schema Generator appears.
  • Schema definition languages