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

create-node-craft

v1.0.2

Published

CLI to generate a production-ready Node.js backend

Downloads

321

Readme

Create Node Craft 🚀

npm version License: ISC

Build modern Node.js backends without the headache.

create-node-craft is a simple and flexible CLI tool that bootstraps a clean, production-ready Node.js backend in seconds.
It avoids heavy configuration, strict version locking, and opinionated tooling—so you can focus on writing application logic.


✨ Key Highlights

  • Zero configuration setup
  • Interactive & Smart dependency installer
  • Best-effort installation (skips problematic libs instead of crashing)
  • Clean and minimal project structure
  • Beginner-friendly and production-ready
  • Supports Node.js v18+

🚀 Quick Start

Create a New App

npx create-node-craft my-app
cd my-app
npm run dev

Use Current Folder Name

If you don’t provide a project name, the CLI will use the current folder name automatically:

npx create-node-craft

🧭 CLI Workflow

When you run the command, the CLI performs the following steps:

  1. 📁 Project Name: Determines name from argument or folder.
  2. Description: Asks if you want to add a project description.
  3. 📄 Template: Copies a fresh Node.js backend template.
  4. 📦 Dependencies: Asks for confirmation and performs best-effort installation.
    (If a library fails due to system compatibility, it skips it and continues).
  5. 🎉 Done: Your project is ready!

⏭️ Skip Dependency Installation

If you want to handle everything yourself:

npx create-node-craft my-app --skip-install

📦 Robust Dependency Installation

The CLI tries to install the latest supported versions using a non-blocking approach. If a package (like bcrypt) requires system-level build tools you don't have, the CLI will skip it and notify you, rather than letting the whole setup fail.

Core Architecture

  • express – Web framework
  • mongoose – MongoDB object modeling
  • cors & dotenv – Security and environment management
  • jsonwebtoken & bcrypt – Authentication core
  • joi – Schema validation

Development

  • nodemon – Auto server reload

This approach ensures maximum compatibility across different systems and Node.js versions.

📁 Generated Project Structure

my-app/
├── src/
├── index.js
├── .env.example
├── package.json
└── node_modules/   (if dependencies are installed)

The structure is intentionally minimal so you can extend it based on your project needs.

🏗 Architecture Philosophy

  • Minimal Express.js setup
  • Easy to scale and customize
  • No forced patterns or frameworks
  • Cloud-ready and platform-agnostic
  • Inspired by Twelve-Factor App principles

☁️ Deployment Ready

Projects generated with create-node-craft work seamlessly with:

  • Render
  • Railway
  • Heroku
  • DigitalOcean
  • AWS / VPS

Standard production commands:

npm install
npm start

🔮 Roadmap

Planned and upcoming features:

  • [ ] TypeScript support (--typescript)
  • [ ] Authentication starter (--auth)
  • [ ] Database options (--postgres, --mysql)
  • [ ] Docker support
  • [ ] pnpm / yarn auto-detection
  • [ ] Optional project presets

🤝 Contributing

Contributions, issues, and feature requests are welcome.
Feel free to open an issue or submit a pull request.

📄 License

ISC