Compiler package for tt-Model, a GraphQL and REST schema extractor from TypeScript code. Current stable version is 0.1.5. It allows you to compile TypeScript files to extract schemas using Gulp, standalone, or any task runner. Key differentiators: no need to learn new schema languages, works directly with TypeScript types, integrates via Gulp pipeline or direct API, and can transpile to JavaScript (.js, .mjs, .cjs). Release cadence is not specified; documentation warns of breaking changes.
npm install tt-model-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the Compiler with Gulp to extract schemas from TypeScript files and transpile to JavaScript.
Review the release notes or documentation for breaking changes between versions.
Use Compiler.compile() directly, not compiler.compile().
Call compiler.gulp(pretty, targetExtension) with boolean and string arguments.
Check for any deprecated API in newer versions.
Use Compiler.compile() static method.
Install tt-model: npm install tt-model
Call compiler.gulp(true, '.js') instead of compiler.gulp({...})