Create API App
A CLI tool to generate API project templates in JavaScript or TypeScript.
Installation
There are several ways to install and use this package:
Option 1: Install Globally
npm install -g create-api-app
After installing globally, you can run the tool anywhere on your system:
create-api-app
Option 2: Use with npx (without installing)
npx create-api-app
Option 3: Use with npm init (recommended)
npm init api-app
Usage
Once installed, simply run:
create-api-app
Follow the interactive prompts to:
- Choose a language (JavaScript or TypeScript)
- Enter your project name
After generation, navigate to your new project and install dependencies:
cd your-project-name
npm install
Available Templates
- JavaScript: A basic JS API template
- TypeScript: A TypeScript API template with type definitions
License
MIT