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

@ozi-tech/stackgen

v1.0.1

Published

Interactive CLI tool to scaffold full-stack project boilerplates

Readme

stackgen

Interactive CLI tool that scaffolds full-stack project boilerplates. Pick your frontend, backend, database, and optional Docker setup — get a production-ready project structure in seconds.

Install

npm install -g stackgen

Usage

stackgen

You'll be prompted to choose:

| Option | Choices | |--------|---------| | Project name | Any lowercase name with hyphens | | Frontend | React (TypeScript), Vue (TypeScript), None | | Backend | Express (TypeScript), FastAPI (Python), None | | Database | PostgreSQL, MongoDB, None | | Docker | Yes / No | | Git init | Yes / No |

What You Get

Depending on your selections, stackgen generates:

  • Frontend: Vite-powered app with TypeScript, proxy config for API calls, starter component with API health check
  • Backend: Server with CORS, health endpoint, database connection boilerplate, environment config
  • Database: Connection setup and environment variables pre-configured
  • Docker: docker-compose.yml with all services, Dockerfiles, volume mounts
  • Common: .gitignore, .env.example, README.md with setup instructions, initial git commit

Example

$ stackgen

  stackgen — scaffold your next project

? Project name: my-saas-app
? Frontend framework: React (TypeScript)
? Backend framework: Express (TypeScript)
? Database: PostgreSQL
? Include Docker setup? Yes
? Initialize Git repository? Yes

  Created 15 files in ./my-saas-app/
  Initialized Git repository

  Next steps:

  cd my-saas-app
  docker-compose up

  Happy building!

Generated structure:

my-saas-app/
├── client/
│   ├── src/
│   │   ├── App.tsx
│   │   ├── main.tsx
│   │   └── index.css
│   ├── index.html
│   ├── package.json
│   ├── tsconfig.json
│   ├── vite.config.ts
│   └── Dockerfile
├── server/
│   ├── src/
│   │   └── index.ts
│   ├── package.json
│   ├── tsconfig.json
│   └── Dockerfile
├── docker-compose.yml
├── .env.example
├── .gitignore
└── README.md

Stack Combinations

stackgen supports any combination of:

  • 9 full-stack combos: 3 frontends × 3 backends
  • 3 database options: PostgreSQL, MongoDB, or None
  • Docker: optional for any combo

Each generated project includes proper wiring between layers (API proxy, database connection strings, Docker networking).

Development

git clone https://github.com/ozi-tech/stackgen.git
cd stackgen
npm install
npm run dev

Built With

  • TypeScript
  • Commander.js (CLI framework)
  • Inquirer.js (interactive prompts)
  • Chalk (terminal styling)

License

MIT