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-luckystack-app

v0.10.1

Published

Scaffold a new LuckyStack project. Run `npx create-luckystack-app my-app` to generate a starter with the recommended overlay layout, selected ORM/package-manager setup, and config files in place.

Readme

create-luckystack-app

Scaffold a new LuckyStack project.

Prerequisites

  • Node.js 20+
  • npm or Bun on PATH (the scaffold defaults to npm)
  • Redis and a database only when the selected project features require them

Usage

npx create-luckystack-app my-app
cd my-app

# Create tracked non-secret config + local secrets:
cp .env_template .env
cp .env.local_template .env.local
$EDITOR .env.local

# Two terminals:
npm run server
npm run client

Open http://localhost:5173.

What it generates

A starter project pre-configured with:

  • The luckystack/ overlay folder for per-package configuration and adapters.
  • The selected ORM/data-layer setup: Prisma, Drizzle, MikroORM, or none.
  • config.ts, a single-source config.ports.ts, and the server/client bootstrap.
  • .env_template + .env.local_template documenting the environment contract.
  • A working server/server.ts that calls bootstrapLuckyStack.
  • A minimal Vite + React 19 frontend with proxy rules for framework endpoints.
  • The framework AI context when aiInstructions is enabled: CLAUDE.md, docs/luckystack/, skills/, .claude/commands/, and the AI-index pre-commit hook.

Router topology files (services.config.ts, deploy.config.ts, and server/config/presetLoader.ts) are optional. They are included only when --router is selected or later added with npx luckystack add router.

Important options

| Flag | Description | |---|---| | --orm=<prisma|drizzle|mikro-orm|none> | Select the data layer. Default: Prisma. | | --db=<mongodb|postgresql|mysql|sqlite> | Select the database provider, subject to the selected ORM. | | --pm=<npm|bun> | Select the package manager for installation. Default: npm. | | --auth=<none|credentials|credentials+oauth> | Select authentication. Default: none. | | --oauth=<providers> | Comma-separated OAuth providers when auth supports OAuth. | | --email=<none|console|resend|smtp> | Select the email adapter. | | --monitoring=<none|sentry|datadog|posthog> | Select the monitoring backend. | | --presence / --error-tracking / --docs-ui / --secret-manager / --router / --cron | Opt into an optional package. | | --ai-docs / --no-ai-docs | Include or omit the framework AI context. Default: included. | | --ai-browser=<all|agent-browser|none> | Select optional browser-testing tooling. | | --no-install | Skip dependency installation and ORM generation. | | --no-prompt | Skip the wizard and use the defaults. | | --help, -h | Show help. |

Updating an existing project

This CLI is for fresh directories. For an existing LuckyStack project, upgrade the installed @luckystack/* packages and run:

npx luckystack update

That command refreshes framework-owned copied files while preserving user edits through .new sidecars.

Related architecture docs

License

MIT — see the repository LICENSE.