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-jerry

v2.0.0

Published

A CLI to scaffold Express backend projects with MongoDB or MySQL, plugin-based AI modules, and support for JavaScript and TypeScript.

Readme

🚀 create-jerry (JerrIt CLI)

A lightning-fast CLI tool to scaffold production-ready Express backend projects with MongoDB or MySQL, plugin-based architecture, and optional AI module support.

npm version License: MIT


✨ Overview

create-jerry is a backend scaffolding CLI inspired by tools like Vite and Create React App.

It generates a structured Express.js backend with:

  • MongoDB OR MySQL support
  • JavaScript OR TypeScript support
  • Optional AI module (OpenAI integration)
  • Plugin-based architecture (extensible design)
  • Clean modular folder structure

⚡ Features

  • 🎯 Interactive CLI prompts (Inquirer-based)
  • 🧠 Optional AI module (OpenAI integration)
  • 🗄️ Database selection (MongoDB / MySQL)
  • 🧾 JavaScript & TypeScript support
  • 🔌 Plugin-based architecture system
  • 📁 Production-ready folder structure
  • ⚙️ Auto dependency injection in package.json
  • 🚀 Fully working Express server setup

🚀 Quick Start

npx create-jerry

Then follow prompts:

  1. Project name
  2. Database (MongoDB / MySQL)
  3. Language (JavaScript / TypeScript)
  4. AI module (Yes / No)

📦 What Gets Generated

Project Structure

your-project/
├── src/
│   ├── config/
│   │   ├── db.js / db.ts
│   │   └── index.js
│   │
│   ├── modules/
│   │   ├── user/
│   │   └── ai/ (optional)
│   │
│   ├── routes/
│   │   └── index.js
│   │
│   ├── middlewares/
│   │   └── error.middleware.js
│   │
│   ├── utils/
│   │   └── asyncHandler.js
│   │
│   ├── app.js
│   └── server.js
│
├── .env
├── package.json
└── tsconfig.json (if TypeScript)

🧠 Architecture

This CLI uses a plugin-based generator system:

Supported Plugins

  • 🟢 MongoDB Plugin
  • 🟡 MySQL Plugin
  • 🤖 AI Plugin (OpenAI)

Each Plugin Handles:

  • Module generation (if required)
  • Dependency injection
  • Route injection
  • Setup logic execution

🔌 Example CLI Flow

✔ Project name? my-app
✔ Select Database MongoDB
✔ Select Language Typescript
✔ Add AI module? Yes

Output:

  • MongoDB configured project
  • AI module added (optional)
  • Routes auto-injected
  • Dependencies installed dynamically

🧰 Available Scripts (Generated Project)

npm run dev      # Development mode
npm start        # Production mode
npm run build    # TypeScript build (if TS)

🧠 AI Module (Optional)

When enabled:

  • /ai/chat endpoint is created
  • OpenAI SDK installed
  • Controller → Service → Provider architecture
  • GPT-powered backend endpoint ready to use

🗄️ Database Support

MongoDB

  • Mongoose integration
  • Predefined User model + CRUD
  • Auto connection setup

MySQL

  • mysql2 connection pool
  • Prebuilt SQL queries
  • Ready-to-use CRUD layer

🔌 Plugin System

Plugins follow this structure:

{
  name: "plugin-name",
  setup(),
  inject,
  dependencies
}

Benefits:

  • Extensible architecture
  • Clean separation of concerns
  • Easy future expansion (auth, redis, payments, etc.)

📚 Tech Stack

  • Node.js
  • Express.js
  • Inquirer.js
  • Chalk
  • Nanospinner
  • OpenAI SDK (optional)
  • Mongoose / MySQL2

🎯 Why create-jerry?

Because backend setup is repetitive:

  • Folder structure setup ❌
  • Database configuration ❌
  • Boilerplate code ❌

Now:

npx create-jerry

Done in seconds ⚡


🛠️ Future Plans

  • 🟦 Typescript Migration
  • 🔐 Authentication plugin (JWT / OAuth)
  • ⚡ Redis caching plugin
  • 📦 Docker support
  • 🧪 Testing setup (Jest)
  • ☁️ Deployment presets

👨‍💻 Author

Tanmay Khanna


⭐ Support

If this helped you:

  • ⭐ Star the repo
  • 🔁 Share with developers
  • 🧩 Contribute plugins

📄 License

MIT License


Built with ❤️ to make backend development faster and easier