Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

feature-hub

arbab_arbab117ISC1.16.0

Feature-based CLI tool to install backend features easily like auth, cron-job, file-upload, etc.

cli, cli-tool, feature-hub, nodejs, nodejs-cli, feature-generator, feature-installer, express-generator, backend-features, project-scaffolding, auth-install, cron-job-generator, file-upload-setup, auto-install, scaffolding-tool, boilerplate-generator, express-setup, api-development, npm-cli, npm-install-helper, feature-setup, feature-automation, developer-tools, automation

readme


📦 feature-hub

A simple CLI tool to quickly install ready-made features (like auth, cron-jobs, payment, file-upload, etc.) into your Node.js projects 🚀


✨ Features

  • Install prebuilt feature templates into your project
  • Auto install required npm packages
  • Auto update your .env file with necessary environment variables
  • Supports npm, yarn, and pnpm package managers
  • Easy and fast to use

🛠️ Installation

# Install globally
npm install -g feature-hub

or you can use it directly without installation:

npx feature-hub

⚡️ Usage

Install a feature into your project

feature-hub install <feature-name>

or simply

feature-hub i <feature-name>

You will be asked where you want to install the feature.
Just provide the folder path (example: src/features) and it will be installed there ✅


📜 Example

Install auth feature

feature-hub i auth

OR with npx:

npx feature-hub i auth

You will see:

✅ Where do you want to install "auth"? Provide the path:
> src/features

Done!
It will:

  • Copy the auth folder
  • Install all required npm packages
  • Add environment variables to .env file

📚 Available Features

Feature Name Description
auth Authentication system
cron-job Cron job scheduling
file-upload File upload handling
payment Payment system
queue Queue system setup
redis Redis setup
payments Payment integration

(✅ More features coming soon...)


🔥 Commands Quick Reference

Command Description
feature-hub install <feature> Install a feature
feature-hub i <feature> Short version to install
npx feature-hub i <feature> Use directly without installing globally

⚡ Example Session

npx feature-hub i auth

✅ Where do you want to install "auth"? Provide the path:
> src/modules

✅ Successfully installed "auth" at /your/project/src/modules/auth
✅ Required packages installed by npm

👌 Contribution

Feel free to open an issue or submit a pull request if you want to improve this CLI tool!


📔 License

MIT License


🚀 Happy Coding with Feature Hub!