devpack-cli
v1.0.7
Published
**DevPilot** is a smart backend automation toolkit for Node.js developers.
Downloads
39
Readme
🚀 DevPilot CLI
DevPilot is a smart backend automation toolkit for Node.js developers.
It allows you to instantly generate backend modules like middlewares, payment gateways (Stripe, Razorpay), and more — directly from your terminal using a single command.
🧠 Features
- ⚡ Instant Setup: Generate backend modules in seconds.
- 🧩 Built-in Templates: Includes pre-configured templates for Razorpay and Stripe.
- 🔍 Error Scanner: Automatically scans your code for syntax or runtime errors.
- 🛠️ Customizable: Easily extend and modify generated modules.
📦 Installation
Install DevPilot globally or use it via npx:
npm install -g devpack-clior
npx devpack💻 Usage
🏗️ Generate Backend Modules
Use the interactive CLI to generate prebuilt backend modules:
npx devpack generateExample Output:
🚀 Welcome to DevPilot – Your Smart Backend Bundler!
✔ What do you want to generate? Payment Gateways
✔ Select Payment Gateway: Razorpay
✅ Created: server/payments/razorpay/razorpayController.js
✅ Created: server/payments/razorpay/razorpayRoutes.js
✅ Setup completed successfully!🔍 Scan for Errors
Run the error detection scanner to find issues in your backend code:
npx devpack scan --watchThis will watch your files and automatically highlight syntax or runtime errors.
📁 Folder Structure
After generation, your project structure may look like:
server/
├── payments/
│ └── razorpay/
│ ├── razorpayController.js
│ └── razorpayRoutes.js⚙️ Commands Overview
| Command | Description |
|----------|-------------|
| devpack generate | Launch the interactive module generator |
| devpack scan | Run the syntax/error detection tool |
| devpack scan --watch | Watch mode for real-time error scanning |
👩💻 Author
Name: Srishti Soni
Email: [email protected]
GitHub: @SrishtiSoni
📝 License
This project is licensed under the MIT License.
💡 Contribution
Contributions are welcome!
Feel free to open an issue or submit a pull request to improve DevPilot.
