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

antstack-js

v1.0.1

Published

A production-ready backend boilerplate generator inspired by ShadCN.

Downloads

180

Readme

antstack-js


✨ Features

🚀 Quick Scaffolding

Generate a complete backend project in seconds with an interactive wizard or CLI flags.

🔧 Multiple Frameworks

  • Express - Classic, flexible, battle-tested
  • Hono - Ultrafast, modern, edge-ready
  • Fastify - Performance-focused with built-in validation

🗄️ Multiple ORMs

  • Prisma - Type-safe, auto-generated client
  • Drizzle - Lightweight, SQL-like
  • Mongoose - MongoDB-native ODM

💾 Multiple Databases

  • PostgreSQL - Robust relational database
  • MySQL - Popular relational database
  • MongoDB - Flexible document database

🔐 Auth Module

Add JWT-based authentication with a single command:

npx antstack-js add auth

📦 Route Generator

Generate complete CRUD routes with controller, service, and repository:

npx antstack-js generate route products

🏗️ Clean Architecture

  • Service-Controller-Repository pattern
  • Manual dependency injection
  • TypeScript-first with strict mode
  • Ready for production

📦 Installation

# Interactive wizard
npx antstack-js@latest my-api

# Or with flags
npx antstack-js@latest my-api --framework express --database postgresql --orm prisma

🚀 Quick Start

1. Create a new project

npx antstack-js@latest my-api

2. Install dependencies

cd my-api
npm install

3. Configure your database

cp .env.example .env
# Edit .env with your database credentials

4. Run migrations

# Prisma
npx prisma migrate dev

# Drizzle
npx drizzle-kit push

5. Start the server

npm run dev

📖 Commands

| Command | Description | |---------|-------------| | npx antstack-js [name] | Create new project (interactive) | | npx antstack-js [name] --framework <f> --database <d> --orm <o> | Create with flags | | npx antstack-js add auth | Add JWT authentication | | npx antstack-js generate route <name> | Generate CRUD route | | npx antstack-js g route <name> | Short alias for generate |

Flags

| Flag | Values | |------|--------| | --framework | express, hono, fastify | | --database | postgresql, mysql, mongodb | | --orm | prisma, drizzle, mongoose |


🗂️ Project Structure

my-api/
├── src/
│   ├── controllers/      # HTTP request handlers
│   ├── services/         # Business logic
│   ├── repositories/     # Data access layer
│   ├── routes/           # Route definitions
│   ├── middleware/       # Custom middleware
│   ├── config/           # Configuration files
│   ├── db/               # Database client
│   └── index.ts          # Entry point
├── prisma/ or drizzle/   # ORM configuration
├── .env.example          # Environment template
├── package.json
└── tsconfig.json

🌐 Web Builder

Use our Visual Builder to configure your stack and generate the CLI command!


📚 Documentation

Visit antstack-js.vercel.app/docs for full documentation.


🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details.


📄 License

MIT © antstack-js


💖 Support

If you find this project helpful, please consider giving it a ⭐ on GitHub!