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

zerostarter

v0.1.37

Published

Go from zero to a production-ready SaaS, rebranded and ready to ship.

Readme

zerostarter

Go from zero to a production-ready SaaS, rebranded and ready to ship.

zerostarter scaffolds ZeroStarter, a full-stack TypeScript starter (Next.js web, Hono API, Drizzle + Postgres, better-auth), into a fresh, rebranded project in one command. It fetches the latest starter, renames it to your directory, installs dependencies, and (when Docker is running) provisions a local Postgres and runs migrations.

Quick start

# In a new, empty directory (its name becomes your project name):
bunx zerostarter init

# Start the dev servers on named portless .localhost URLs (bunx portless list to see them)
bun run dev

That is the whole setup. When Docker is running, init provisions a local Postgres and migrates for you; otherwise set POSTGRES_URL in .env (a hosted database like Neon works) and run bun run db:migrate.

Commands

bunx zerostarter <command> [dir] [options]

| Command | What it does | | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | init [dir] | Scaffold ZeroStarter into dir (default .) as a fresh product. Fetches, rebrands to the dir name, installs, and optionally provisions Postgres. | | reinit [dir] | Re-scaffold an existing git repo (default .) as a fresh ZeroStarter, keeping .git and your .env* files so history, remote, and secrets survive. | | sync [dir] | Re-baseline an existing fork (default .) on the latest ZeroStarter, preserving your content, branding, package.json identity, and favicon. |

init

Scaffold a new product. Run it in an empty directory (its name becomes the project name), or pass a name: bunx zerostarter init my-app.

| Option | Description | | -------------- | --------------------------------------------------------------------- | | -y, --yes | Skip prompts, taking defaults (provisions Postgres when Docker is up) | | --db | Provision a local Postgres (via pglaunch) and migrate; needs Docker | | --dry-run | Print the plan without writing anything | | -h, --help | Display help |

reinit

Re-scaffold an existing repo in place. Every file is deleted (except .git and .env*), the latest ZeroStarter is fetched, and it is rebranded to the directory name. The commit lands on the current branch; push when ready. Requires a clean tree.

| Option | Description | | -------------- | ---------------------------- | | -y, --yes | Skip the confirmation prompt | | -h, --help | Display help |

sync

Re-baseline a fork on the latest ZeroStarter. A gitpick overlay updates the starter files while your content, public/marketing, branding, package.json identity, dev-URL names, and favicon are preserved. Requires a clean tree; lands as a reviewable diff you commit yourself.

Skills you own are preserved too: sync only rewrites a skill whose source is this repo. One you authored, one you vendored from a tool, one you took from another upstream, one you edited, or one whose sync note you removed keeps your version, and sync names it in the summary rather than replacing it.

AGENTS.md ships to a fork whole, rebranded, and follows the same contract: sync hands you the starter's latest while your copy is unedited, and keeps yours once you have changed it.

Requirements

  • Bun runs the scaffolded project. If it is missing, the CLI offers to install it for you.
  • Docker (optional) lets init provision a local Postgres and migrate automatically. Without it, point POSTGRES_URL at any Postgres and run bun run db:migrate.

Links

License

MIT