• v1.0.0 bc2d8a8580

    v1.0.0
    Some checks failed
    CI / test (push) Failing after 5s
    Stable

    7000pctAUTO released this 2026-01-31 12:26:28 +00:00 | 21 commits to main since this release

    Initial 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-json
    

    Usage

    # 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