{"library":"typescript-json-schema","type":"library","category":null,"description":"typescript-json-schema is a library designed to generate JSON Schema definitions directly from TypeScript source files. It operates by compiling the TypeScript program to extract comprehensive type information and then translating this into JSON Schema, including features like required properties, inheritance (`extends`), JSDoc annotation keywords, and default values from property initializers. The current stable version is 0.67.1. The project is explicitly stated to be in \"maintenance mode\", indicating a slower release cadence and less active feature development compared to its past. While lightweight, the maintainers suggest `ts-json-schema-generator` for a more feature-rich and actively developed alternative, highlighting `typescript-json-schema`'s primary differentiator as its use of the TypeScript compiler internally, enabling advanced scenarios.","language":"javascript","status":"maintenance","version":"0.67.1","tags":["javascript","typescript","json","forms","jsonschema","schema"],"last_verified":"Wed May 27","install":[{"cmd":"npm install typescript-json-schema","imports":["import * as TJS from 'typescript-json-schema'; const generator = TJS.buildGenerator(program, settings);","import * as TJS from 'typescript-json-schema'; const program = TJS.getProgramFromFiles(filePaths, compilerOptions, basePath);","import * as TJS from 'typescript-json-schema'; const settings: TJS.PartialArgs = { required: true };"]},{"cmd":"yarn add typescript-json-schema","imports":[]},{"cmd":"pnpm add typescript-json-schema","imports":[]}],"homepage":null,"github":"https://github.com/YousefED/typescript-json-schema","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typescript-json-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/typescript-json-schema/compatibility"}}