@burhan.aziz/new-node-app
v1.0.2
Published
Generate Node.js OOP project structure
Maintainers
Readme
🧱 Node OOP Structure
A ready-to-use Object-Oriented Node.js project structure — designed for scalability, clean architecture, and modular development.
This package helps you quickly bootstrap a Node.js project following OOP principles and best folder organization.
🚀 Features
- ✅ Predefined folder structure for Controllers, Services, Repositories, and Utils
- ✅ Follows OOP and separation of concerns
- ✅ Includes base classes for easier extension
- ✅ Clean and consistent setup in seconds
- ✅ Works with both JavaScript and TypeScript
📦 Installation
1. Global installation
Install globally to run the CLI from anywhere:
npm install -g @burhan.aziz/new-node-app
new-node-app folderName
folderName is the name of the folder where your Node.js project structure will be created.
Note:
On Linux/macOS, if you get permission errors, use sudo:
sudo npm install -g @burhan.aziz/new-node-app
2. Using npx (No Global Install Needed)
Run the CLI directly without installing globally:
npx @burhan.aziz/new-node-app folderName
3. Local Project Installation
Install as a dev dependency in your project:
npm install --save-dev @burhan.aziz/new-node-app
Then run via npx:
npx new-node-app folderName
