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-lumibase

v0.22.0

Published

Scaffold a new LumiBase project — Edge-native Headless CMS

Readme

create-lumibase

Scaffold a new LumiBase project — an Edge-native Headless CMS — in seconds.

npm create lumibase@latest my-project
# or
npx create-lumibase@latest my-project
# or
pnpm create lumibase my-project

What it does

create-lumibase bootstraps a ready-to-run LumiBase project into an empty directory, the same way create-next-app or create-vite scaffold their respective stacks. It is interactive by default and fully scriptable via flags.

Interactive flow

Running npm create lumibase@latest with no arguments walks you through:

  1. Project name — validated against npm package-name rules.
  2. Deployment targetDocker (Node.js + PostgreSQL) or Cloudflare Workers (Edge + D1).
  3. Package managerpnpm / npm / yarn / bun (the one you invoked is auto-detected).
  4. Install dependencies — yes/no.
  5. Initialize git — yes/no.

The tool then scaffolds the files, optionally runs git init + a first commit, installs dependencies, and prints the exact next steps for your chosen stack.

Templates

| Template | Flag | Stack | | --- | --- | --- | | Docker (default) | --template default | Hono + @hono/node-server, Drizzle ORM, PostgreSQL, Redis, docker-compose.yml | | Cloudflare Workers | --template cloudflare | Hono, Drizzle ORM, D1, wrangler.toml |

The default template ships a working posts resource (GET/POST /posts) that demonstrates LumiBase conventions: nanoid() IDs, site_id multi-tenancy, the { data } / { errors } response format, and Zod validation.

Non-interactive usage

Skip every prompt by passing flags:

npx create-lumibase@latest my-blog \
  --template default \
  --pm pnpm \
  --no-install \
  --no-git

| Flag | Description | | --- | --- | | --template <default\|cloudflare> | Choose the project template. | | --pm <pnpm\|npm\|yarn\|bun> | Package manager to install with. | | --install / --no-install | Force-enable or skip dependency install. | | --git / --no-git | Force-enable or skip git init. | | DEBUG=1 | Print scaffolded file paths and full stack traces on error. |

After scaffolding (Docker template)

cd my-blog
cp .env.example .env       # fill in your secrets
pnpm install               # if you skipped --install
docker compose up -d       # starts Postgres + Redis
pnpm run db:generate       # generate the first migration
pnpm run db:migrate        # apply it
pnpm dev                   # http://localhost:8787

Requirements

  • Node.js >= 20
  • For the Docker template: Docker + Docker Compose
  • For the Cloudflare template: a Cloudflare account + wrangler

License

Part of the LumiBase monorepo.