🚀 A powerful CLI tool to scaffold Express.js applications with best practices and modern tooling.
- English: README.md (current)
- Español: README.es.md
- ✨ Interactive Mode - Guided project creation with prompts
- 🛡️ Dependency Strategies - Choose between stable, latest, or experimental versions
- 📦 Smart Installation - Automatic npm install with robust error handling
- 🔧 Modern Setup - ES Modules, ESLint-ready, and development-focused
- 🏗️ Clean Architecture - Well-structured project templates
- 🚫 Flexible Development - Optional nodemon (can use Node.js --watch instead)
- 🧪 Testing Support - Built-in test suite and
--no-installoption for testing
npm install -g express-craftgit clone https://github.com/Adan-Perez/express-craft-cli.git
cd express-craft-cli
npm install
npm link# Interactive mode
express-craft
# Direct project creation
express-craft my-app
# With dependency strategy
express-craft my-app --latest
express-craft my-app --stable| Option | Description |
|---|---|
--latest |
Use latest versions of dependencies (experimental) |
--stable |
Use stable/tested versions (default) |
--no-install |
Skip npm install (useful for testing) |
--no-nodemon |
Skip nodemon installation (use Node.js --watch) |
--fetch-versions |
Fetch latest stable versions from npm (slower) |
--help |
Show help information |
--version |
Show version number |
# Create a new project with stable dependencies
express-craft my-api --stable
# Create a project with latest dependencies
express-craft bleeding-edge-app --latest
# Create project structure only (no npm install)
express-craft test-project --no-install
# Create project without nodemon (uses Node.js --watch)
express-craft minimal-app --no-nodemon
# Create project with latest stable versions from npm
express-craft current-app --fetch-versionsmy-app/
├── package.json # Dependencies and scripts
├── app.js # Main Express application
├── README.md # Project documentation
└── node_modules/ # Dependencies (if installed)
package.json- Configured with Express, Nodemon, and proper scriptsapp.js- Basic Express server with JSON middleware and sample routeREADME.md- Project-specific documentation with getting started guide
📋 Documentation:
- CONTRIBUTING.md - English
- CONTRIBUTING.es.md - Español
-LICENSE - This project is licensed under the MIT License.
📜 Change History:
- CHANGELOG.md - English
- CHANGELOG.es.md - Español
All notable changes to this project are documented in the changelog files.
Made with ❤️ for the Node.js community