create-primus
v1.0.6
Published
A CLI tool to bootstrap a modern Express.js project with best practices, opinionated defaults, and structured scaffolding.
Maintainers
Readme
Primus CLI 🚀
Primus is a robust and developer-friendly CLI tool designed to scaffold Node.js projects with your preferred architecture and language.
It enables developers to quickly bootstrap projects with clean, scalable, and maintainable structures, saving time and enforcing best practices.
📌 Key Features
- Generate projects using Clean Architecture or MVC patterns.
- Supports both JavaScript and TypeScript.
- Automatic creation of well-structured project folders and files.
- Pre-configured templates for rapid development.
- Extensible and customizable to fit different workflows.
🛠 Installation & Usage
Primus CLI can be used instantly without installation, or installed globally for repeated use.
Run without installation
npx create-primus@latest <project-name>
# or
pnpm create primus@latest <project-name>Install Globally
npm install -g create-primus
# or
pnpm add -g create-primusOnce installed, scaffold a project by running:
primus create <project-name>The CLI will prompt you to select:
Project architecture (Clean Architecture or MVC)
Language (JavaScript or TypeScript)
🎯 Example
primus create my-app? Project Name: my-app
? Choose Language: TypeScript
? Choose Architecture: Clean Architecture
? Choose Database: MongoDB/PostgresqlThis will create a fully scaffolded project with the chosen configuration.
📜 License
Primus CLI is open-source and available under the MIT License.
