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

leedstack

v3.1.0

Published

One-command scaffolder for full-stack web applications with 60+ stack combinations (React/Vue/Next.js/Svelte/Angular + Python/Node/Java/Go + Postgres/MySQL/MongoDB)

Readme

leedstack

One-command scaffolder for full-stack web applications with pluggable stacks and modern defaults.

Generate production-ready full-stack applications in seconds with your choice of frontend, backend, database, and optional modules. The recommended default is React + Go (Echo) with Postgres.

Features

  • 60+ Stack Combinations: Mix and match your preferred technologies
  • âš¡ Lightning Fast: From zero to coding in <30 seconds with make setup
  • 🚀 Production-Ready: Docker, CI/CD, testing, monitoring - all included
  • 🧪 Automated Testing: Vitest with example tests, coverage, and test UI
  • 🔄 CI/CD Pipeline: GitHub Actions workflow for automated testing and deployment
  • 🐳 Docker Support: Multi-stage builds for optimized production images
  • 📊 Monitoring: Health checks, memory tracking, K8s-compatible endpoints
  • Optimized Performance: HMR <50ms, builds 20-40x faster with esbuild
  • Zero Memory Leaks: Proper cleanup in all components and graceful shutdown
  • Most Popular Stacks: React, Vue, Next.js, Python/FastAPI, Node/Express, and more
  • Auto-Configured Connectivity: Frontend and backend pre-wired with correct ports and CORS
  • Modern Defaults: SSR, code-splitting, tree-shaking, strict types
  • AI Chatbot Module: Works out-of-box, upgrades with OpenAI/Anthropic API key
  • Auth0 Integration: OIDC/PKCE flow with JWT validation
  • Stripe Payments: Checkout + webhook handling
  • Code Quality Tools: ESLint, Prettier, Error Boundaries pre-configured
  • Type-Safe: TypeScript for frontends and Node backend

Free vs Pro (Planned)

The npm package will always include the core scaffolding and base stacks. Pro will unlock premium modules and templates (Auth, Payments, Admin, Chatbot, deployment presets).

Pricing (planned): one-time purchase for Pro (no subscription). Licensing (planned): Pro access will use a simple license key file (e.g. ~/.leedstackrc) with no heavy DRM.

FAQ: Will there be a subscription later? Possibly for updates and new templates, but the initial plan is a one-time purchase.

Pro Module Compatibility (Current)

Frontends:

| Module | React | Vue | Next.js | Svelte | Angular | | --- | --- | --- | --- | --- | --- | | Auth | — | — | — | ✓ | — | | Payments | — | — | — | ✓ | — | | Admin | — | — | — | ✓ | — | | Contact | — | — | — | ✓ | — | | Chatbot | ✓ | — | — | — | — |

Backends:

| Module | node-express | python-fastapi | java-spring | go-echo | | --- | --- | --- | --- | --- | | Auth | ✓ | — | ✓ | — | | Payments | ✓ | — | ✓ | — | | Admin | — | — | ✓ | — | | Contact | — | — | ✓ | — | | Chatbot | ✓ | ✓ | — | — |

If your selected stack isn't listed above, that module will be unavailable until we add support.

Pro Templates (ZIP Install)

If you purchase the Pro templates ZIP, install it like this:

# Create the local templates folder
mkdir -p ~/.leedstack/templates

# Unzip the download into that folder (replace the zip path)
unzip /path/to/leedstack-pro-templates.zip -d ~/.leedstack/templates

TODO: Add leedstack login and automated template downloads from a private registry.

Quick Start

npx leedstack my-app \
  --frontend react \
  --backend go-echo \
  --db postgres

Then follow the printed instructions to start your app!

âš¡ Fastest Setup

npx leedstack my-app --frontend react --backend go-echo --db postgres

cd my-app
make setup  # Installs everything + starts database (parallel)
make dev    # Start development servers

Total time: ~30 seconds to fully operational! 🚀

See PERFORMANCE.md for optimization details.

💰 Deployment Options

Monorepo (Simple):

  • Deploy everything together: ~$5-15/month
  • Best for: MVPs, small teams, rapid development

Separate Repos (Cost Optimized):

  • Deploy frontend and backend separately: $0/month possible!
  • Frontend: Vercel/Netlify/Cloudflare (FREE)
  • Backend: Fly.io/Railway (FREE tiers)
  • Database: Supabase/PlanetScale (FREE)
  • Best for: Maximizing free tiers, independent scaling

Split your monorepo:

./scripts/split-repos.sh

See DEPLOYMENT_STRATEGIES.md for complete guide.

Supported Stacks

Frontends (5 options)

  • react - Vite + React 19 (most popular!)
  • vue - Vue 3.5 with Vite (lightweight and fast)
  • nextjs - Next.js 15 (React with SSR/SSG)
  • svelte - SvelteKit 5.x (innovative and performant)
  • angular - Angular ≥19.0.0 (enterprise-ready)

Backends (4 options)

  • go-echo - Go 1.22+ with Echo framework (high performance, recommended)
  • node-express - TypeScript + Express 5.x, Node 20+ (JavaScript ecosystem)
  • python-fastapi - Python 3.11+ with FastAPI (great for AI/ML integration)
  • java-spring - Spring Boot 3.3.x, Maven, Java 21 LTS (enterprise standard)

Databases

  • postgres - PostgreSQL 16+
  • mysql - MySQL 8+
  • mongodb - MongoDB 7+

Optional Modules

  • --auth auth0 - Auth0 OIDC authentication
  • --payments stripe - Stripe Checkout integration
  • contact - Contact form with DB persistence
  • admin - Protected admin dashboard with stats
  • chatbot - AI chatbot (works out-of-box, upgrades with OpenAI/Anthropic API key)

Usage

npx leedstack <appName> \
  --frontend <react|vue|nextjs|svelte|angular> \
  --backend <node-express|python-fastapi|java-spring|go-echo> \
  --db <postgres|mysql|mongodb> \
  [--auth auth0|none] \
  [--payments stripe|none] \
  [contact] [admin]

Options

  • -f, --frontend <type> (required) - Frontend framework
  • -b, --backend <type> (required) - Backend stack
  • --db <type> (required) - Database
  • --auth <type> - Authentication (default: none)
  • --payments <type> - Payments (default: none)
  • Trailing arguments: Additional modules (contact, admin, chatbot)

Examples

Modern Python + React Stack with AI Chatbot

npx leedstack my-saas \
  --frontend react \
  --backend python-fastapi \
  --db postgres \
  --auth auth0 \
  --payments stripe \
  contact admin chatbot

Recommended Default: React + Go + Postgres

npx leedstack my-app \
  --frontend react \
  --backend go-echo \
  --db postgres

Vue + Node.js Blog

npx leedstack blog \
  --frontend vue \
  --backend node-express \
  --db mongodb \
  chatbot

Next.js E-commerce

npx leedstack shop \
  --frontend nextjs \
  --backend node-express \
  --db postgres \
  --payments stripe

Enterprise Java Stack

npx leedstack enterprise \
  --frontend angular \
  --backend java-spring \
  --db postgres \
  --auth auth0 \
  admin

Generated Project Structure

my-app/
├── docker-compose.yml          # Database container
├── README.md                   # Project-specific docs
├── .env.example                # Environment template
├── frontend/                   # Frontend app
│   ├── src/
│   ├── package.json
│   └── .env.example
└── backend/                    # Backend API
    ├── src/
    └── .env.example

What's Included

Base Features

  • Docker Compose for database
  • Health endpoints (/actuator/health or /health)
  • CORS configuration for development
  • Environment variable management
  • Production-ready defaults

With Auth0 (--auth auth0)

  • Frontend: Login/logout flow, token management
  • Backend: JWT validation via JWKS, protected routes
  • Admin scope enforcement for /api/admin/** endpoints

With Stripe (--payments stripe)

  • Create Checkout sessions
  • Webhook signature verification
  • Payment success handling

With Contact Module

  • Contact form (name, email, message)
  • Database persistence
  • /api/contact endpoint

With Admin Module

  • Protected dashboard (requires admin scope)
  • User and contact stats
  • /api/admin/stats endpoint

Technology Choices

Version Policy

  • Pin majors, float minors/patches using ^ (npm) or latest minor (Maven/Go)
  • Enforce minimum runtimes via engines field

Security

  • JWT validation via JWKS (no custom crypto)
  • CORS configurable per environment
  • Secrets via environment variables only
  • Admin routes protected by scope/permission

Efficiency

  • Frontend: SSR, code-splitting, lazy-loaded admin, minimal deps
  • Backend: JSON-only APIs, no view engines
  • Docker: Multi-stage builds, distroless/alpine images

Requirements

  • Node.js ≥20.0.0
  • Java 21 LTS (for java-spring backend)
  • Go ≥1.22 (for go-echo backend)
  • Docker (for running databases)
  • Maven (for java-spring backend)

Development

Running Generated Projects

  1. Start database:

    docker compose up -d
  2. Backend:

    cd backend
    # Java Spring
    mvn spring-boot:run
    
    # Node Express
    npm install && npm run dev
    
    # Go Echo
    go run ./cmd/server
  3. Frontend:

    cd frontend
    cp .env.example .env
    npm install
    npm run dev

Environment Setup

See the generated README.md in your project for specific Auth0 and Stripe configuration instructions.

Publishing to npm

If you want to publish this package:

  1. Update package.json:

    • Change name if needed (must be unique on npm)
    • Set your author name and email
    • Update repository, bugs, homepage URLs
  2. Create npm account: https://www.npmjs.com/signup

  3. Login and publish:

    npm login
    npm publish
  4. Users can then run:

    npx leedstack my-app --frontend react --backend node-express --db postgres

License

MIT (c) Colby Leed

Contributing

Issues and PRs welcome! Please ensure generated projects compile and run before submitting.

Support

  • Report issues: https://github.com/CTLeed/leedstack/issues
  • Documentation: https://github.com/CTLeed/leedstack