dev-cmds-versions
v1.0.1
Published
This consists of various commands that can be used in development. has both stable and latest commands
Downloads
17
Readme
Full-Stack Node Modules CLI
A handy interactive tool that helps developers quickly find essential Node.js/NPM packages for building full-stack applications with the MEAN (MongoDB, Express, Angular, Node) or MERN (MongoDB, Express, React, Node) stacks.
🚀 Features
✅ Presents 10 key categories (Core Server, Auth, MongoDB, Frontend, etc.)
✅ Lists required and recommended Node.js modules for each category
✅ Shows descriptions and ready-to-run npm install commands
✅ Validates user input with friendly error messages
✅ Works as an interactive CLI both globally or when imported into your Node.js scripts
✅ Helps developers install latest and specific stable versions of packages
📦 Installation
You can install the CLI globally (recommended for direct CLI usage):
npm install -g dev-cmds-versions
Or install it locally in a project to use via require:
bash
npm install dev-cmds-versions
📝 Usage
🔹 1) Run Globally (CLI)
After installing globally, simply run:
bash
dev-cmds
🔹 2) Use in Your JS Script
After installing locally or globally, you can create a Node.js file (e.g., index.js) like:
js
require("dev-cmds-versions");
Then run it:
bash
node index.js
This will automatically show the interactive menu.
📋 What You’ll See
When the CLI starts, you’ll get a menu like:
==== Full-Stack Node Modules ====
1) Core Server & Routing
2) MongoDB & ORM/ODM
3) Authentication & Security
...
10) Other Useful Packages
You’ll be prompted with:
css
Enter a topic number (1-10) to see details:
✅ Enter a number between 1-10 to see details about packages in that topic.
❌ If you enter an invalid number or a non-number (e.g., "abc", 0, or 11), you’ll see:
css
❌ Invalid input! Please enter a number between 1 and 10.
✅ Example Output
If you choose topic 1 (Core Server & Routing), you’ll see:
=== Core Server & Routing ===
🔹 express
Description: Minimal & flexible web framework
Install: npm install express
🔹 cors
Description: Enable Cross-Origin Resource Sharing
Install: npm install cors
...
🤔 Why use this?
🔹 Avoid Googling every package separately
🔹 Learn what stable packages are recommended for full-stack JavaScript projects
🔹 Speed up your MEAN or MERN project setup
🔹 Help students and junior developers understand ecosystem best practices
✨ Author
Gugan M K
