api-types-gen
v1.2.0
Published
A Quicktype-based CLI tool for generating type definitions
Maintainers
Readme
@rowan/types-cli
A Quicktype-based CLI tool for automatic TypeScript type definition generation.
🚀 Features
- 🎯 Built on Quicktype core engine with support for multiple data sources
- 📝 Automatically generate accurate TypeScript type definitions
- 🎨 Beautiful command-line interface with colorful output
- 🔧 Simple and intuitive interactive CLI experience
- ⚡ Fast and efficient type generation workflow
📦 Installation
# Install with npm
npm install -g @rowan/types-cli
# Install with yarn
yarn global add @rowan/types-cli
# Install with pnpm
pnpm install -g @rowan/types-cli🛠️ Usage
After installation, use the types-gen command to generate type definitions:
# Basic usage
types-gen
# Show help information
types-gen --helpThe tool provides an interactive interface that guides you through the entire type generation process.
📋 Dependencies
- quicktype-core: Core type generation engine
- commander: Command-line argument parsing
- inquirer: Interactive command-line interface
- chalk: Terminal color output
- ora: Elegant loading spinners
- figlet: ASCII art text rendering
- shelljs: Shell command execution
🔧 Development
# Clone the repository
git clone <repository-url>
# Install dependencies
npm install
# Link for local development
npm link
# Now you can test with the types-gen command
types-gen📄 License
ISC License
👥 Contributing
Issues and Pull Requests are welcome!
📧 Contact
For questions or suggestions, please contact: [email protected]
Keywords: quicktype, cli, typescript, types
