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 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-project-gen

v0.0.4

Published

⚡ Blazing fast, architecture-aware Node.js backend generator.

Downloads

416

Readme

Node Project Gen ⚡

Lightning-fast Node.js backend scaffolding CLI built in Rust.

Node Project Gen allows you to generate production-ready, scalable, and secure Node.js backends in seconds. It bridges the gap between simple boilerplate and complex enterprise frameworks by providing opinionated architectural patterns and modern best practices out of the box.

License Rust Node.js


🚀 Speed Demo

Acrocoder scaffolds a complete project with authentication, database integration, logging, validation, and Docker support in less than 1 second.

✨ Features

  • Blazing Fast: Compiled Rust binary for near-instant execution.
  • Multiple Architectures: Clean Architecture, MVC, Modular, Hexagonal, and Microservices.
  • Framework Support: Express, Fastify, and NestJS.
  • Database Ready: PostgreSQL, MongoDB, MySQL, and SQLite (Prisma, Mongoose, Sequelize, TypeORM).
  • Batteries Included Auth: JWT, Sessions, OAuth (Google/GitHub), and Firebase.
  • Production Grade:
    • 🛡️ Security: Helmet, HPP, Rate-limiting.
    • 📝 Logging: Winston or Pino.
    • Validation: Zod or Joi.
    • 🧪 Testing: Jest or Vitest.
    • 🐳 DevOps: Docker, Docker Compose, and GitHub Actions CI/CD.
    • 📖 API Docs: Swagger (OpenAPI 3.0) integration.

📦 Installation

Via Cargo

cargo install node-project-gen

Via NPM

npx node-project-gen create my-api

🛠 Usage

Create a New Project

The create command is the main entry point for scaffolding.

# Basic project
acrocoder create my-api

# Custom project with specific stack
acrocoder create my-api \
  --arch clean \
  --framework express \
  --db postgres \
  --auth jwt \
  --test vitest

Options:

  • --arch: clean, mvc, modular, hexagonal, microservice
  • --framework: express, fastify, nest
  • --db: postgres, mongodb, mysql, sqlite
  • --auth: jwt, session, oauth, firebase
  • --test: jest, vitest
  • --validation: zod, joi
  • --logger: winston, pino
  • --skip-install: Skip automatic npm install
  • --git: Initialize git repository (default: true)

Generate Modules

Generate new resources or components in an existing project.

# Generate a full CRUD module
acrocoder generate module users --crud

# Generate middleware
acrocoder generate middleware auth

Add Features

Easily add complex configurations to an existing project.

acrocoder add docker
acrocoder add swagger
acrocoder add cicd
acrocoder add websocket

📂 Architecture Overview

Acrocoder supports multiple patterns. For example, the Clean Architecture layout:

src/
├── domain/            # Entities & Business Rules
├── application/       # Use Cases & Services
├── infrastructure/    # DB, Repositories, External Services
├── presentation/      # Controllers, Routes, Validators
└── core/              # Shared interfaces & global errors

While the Modular layout organizes by domain:

src/
├── modules/
│   ├── auth/          # Controllers, Services, Routes for Auth
│   ├── user/          # Controllers, Services, Routes for User
│   └── health/        # Health check module
├── shared/            # Shared utils & middleware
└── core/              # Core configs

🛠 Built With

  • Clap - Command Line Argument Parser
  • Serde - Serialization/Deserialization
  • Colored (via ANSI) - ANSI Escape Codes for UI
  • Tokio (Logic-only) - Optional Async features

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Generated with ❤️ by Acrocoder