New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

api-types-gen

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-types-gen

A Quicktype-based CLI tool for generating type definitions

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

@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 --help

The 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: 570436048@qq.com

Keywords: quicktype, cli, typescript, types

Keywords

quicktype

FAQs

Package last updated on 30 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts