-
released this
2026-01-31 12:26:28 +00:00 | 21 commits to main since this releaseInitial Release
A CLI tool that automatically generates TypeScript type definitions from runtime API responses or JSON files.
Key Features
- JSON file type inference
- Multiple response union type detection
- Generate .d.ts files
- Watch mode for live monitoring
- CLI interface with commander.js
Installation
npm install -g type-from-jsonUsage
# Generate types from JSON file type-from-json infer data.json # Watch mode type-from-json watch "src/**/*.json"Changes
- Initial release with full type inference engine
- Support for nested objects, arrays, and union types
- CLI with infer and watch commands
Downloads