npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@nrvboss/hcli

v1.8.1

Published

Interactive CLI for generating Express projects

Downloads

66

Readme

hCLI — Modern Full-Stack Project Generator

hCLI is a simple, fast, and interactive project generator that helps you create Express, NestJS, Vue, and React applications with clean templates and automatic setup.

Stop creating project folders manually — let hCLI prepare everything in seconds.


FEATURES

Core Features

  • Interactive CLI with beautiful animated banner
  • Full-Stack project generation in one command
  • Backend generators: Express.js & NestJS
  • Frontend generators: Vue 3 + Vite & React + Vite
  • Module generators: Create Express/Nest modules instantly
  • Docker support: Optional Dockerfile generation
  • Automatic folder structure setup
  • Auto-install required npm packages
  • Colorful success messages (Express — yellow, Vue — green, React — blue, Nest — red)
  • Template-based architecture
  • Zero configuration

New in v1.8.0

  • Express Module Generator — Generate controller, model, and routes with one command
  • NestJS Module Generator — Create complete Nest modules automatically
  • Docker Support — Ready-to-use Dockerfiles for backend projects
  • Improved CLI flow with new spinner UI and better error handling

📦 INSTALLATION

Install globally:

npm install -g @nrvboss/hcli

After installation, run:

hcli

USAGE

Interactive Mode

Simply run:

hcli

You will see the animated banner:

  _      ____ _     ___
 | |__  / ___| |   |_ _|
 | '_ \| |   | |    | |
 | | | | |___| |___ | |
 |_| |_|\____|_____|___|

Then choose a section:

? Pick the section for generating:
❯ Full-Stack
  Backend(Express.js/Nest.js)
  Frontend(Vue/React)

FULL-STACK

Create a complete full-stack application with both backend and frontend:

  • Choose your backend: Express.js or NestJS
  • Choose your frontend: Vue 3 or React
  • Everything is set up and ready to go!

BACKEND (Express.js/Nest.js)

Generate standalone backend projects:

  • Express.js — Clean REST API structure
  • NestJS — Modern TypeScript backend framework

FRONTEND (Vue/React)

Generate standalone frontend projects:

  • Vue 3 + Vite — Progressive JavaScript framework
  • React + Vite — Modern React with fast HMR

PROJECT STRUCTURE EXAMPLES

Express.js Project

demo/
 ├── config/
 ├── controllers/
 ├── models/
 ├── routes/
 ├── .env
 ├── app.js
 └── package.json

Installed packages: express, cors, dotenv, nodemon (dev)

NestJS Project

demo/
 ├── src/
 │   ├── app.module.ts
 │   ├── app.controller.ts
 │   ├── app.service.ts
 │   └── main.ts
 ├── test/
 ├── nest-cli.json
 └── package.json

Installed packages: @nestjs/core, @nestjs/common, @nestjs/platform-express

Vue 3 Project

demo/
 ├── src/
 │   ├── components/
 │   ├── App.vue
 │   └── main.js
 ├── public/
 ├── index.html
 └── package.json

React Project

demo/
 ├── src/
 │   ├── components/
 │   ├── App.jsx
 │   └── main.jsx
 ├── public/
 ├── index.html
 └── package.json

MODULE GENERATORS

Express Module Generator

Generate a complete Express module:

hcli c express <module-name>

Creates:

  • <module-name>.controller.js
  • <module-name>.model.js
  • <module-name>.routes.js

All connections are wired automatically!

NestJS Module Generator

Generate a complete Nest module:

hcli c nest <module-name>

Creates:

  • <module-name>.module.ts
  • <module-name>.controller.ts
  • <module-name>.service.ts

The module is automatically imported into app.module.ts.


DOCKER SUPPORT

When creating backend projects, you can choose to include Docker support:

? Do you want to add Docker support? (Y/n)

Select Yes → A ready-to-use Dockerfile is added to your project root.


START YOUR PROJECT

After creation:

cd 
npm run dev

CONTRIBUTING

Pull requests and suggestions are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

LICENSE

MIT — Feel free to use anywhere.


SUPPORT

If you like this CLI, leave a star on GitHub!


AUTHOR

Created with ❤️ by @nrvboss


CHANGELOG

v1.8.0

  • Added Express module generator
  • Added NestJS module generator
  • Added Docker support for backend projects
  • Improved CLI flow with new spinner UI
  • Better error handling and safe exits
  • Simplified template structure
  • Codebase cleanup and refactor

Made with passion to make your development faster