typeconv
JSON →typeconv is a fast, bidirectional type conversion utility that converts between JSON Schema, TypeScript, GraphQL, Open API, and SureType. Version 2.3.1 is the latest stable release. It uses the core-types ecosystem to preserve comments, descriptions, and source locations across conversions. Unlike ad-hoc converters, typeconv provides a unified API and CLI for all supported formats, with high performance and CLI glob support. It is a pure ESM package (no CommonJS) and requires Node.js >= 14.13.1.
Resources
packagetypeconv ↗