create-api-app
v0.1.3
Published
A CLI tool to generate API project templates in JavaScript or TypeScript.
Readme
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-appAfter installing globally, you can run the tool anywhere on your system:
create-api-appOption 2: Use with npx (without installing)
npx create-api-appOption 3: Use with npm init (recommended)
npm init api-appUsage
Once installed, simply run:
create-api-appFollow 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 installAvailable Templates
- JavaScript: A basic JS API template
- TypeScript: A TypeScript API template with type definitions
License
MIT
