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

v0.11.2

Published

npx create-kedge my-store: a new Kedge store from the starter.

Readme

create-kedge

A new Kedge store: an open-source (MIT) headless commerce backend that runs on Cloudflare Workers and D1, in your own Cloudflare account.

mkdir my-store && cd my-store
npm create kedge@latest

Run it in an empty folder, or name a new one: npm create kedge@latest my-store. The store's name comes from the folder (--name chooses another; --help lists the options and writes nothing). It needs Node 24 or newer and pnpm 10 or newer (npm install --global pnpm), and checks both before it writes anything.

With a coding agent

Give your agent this page and ask: "Make me a Kedge store and place a test order." The store it makes carries the kedge-start skill (in .claude/skills/ and .agents/skills/), which holds the steps below. A command that needs you stops with exit code 3 and one line starting for you:; your agent passes it on.

The first run

On this machine (no Cloudflare account needed):

  1. pnpm kedge check --fast
  2. pnpm kedge dev (keep it running): the store at http://localhost:8787, its admin at /app/.
  3. pnpm kedge staff invite-owner [email protected]: open the link it prints, set a password and an authenticator, and you're the store's Owner.
  4. pnpm kedge seed --sample apparel --url http://localhost:8787
  5. pnpm kedge smoke --url http://localhost:8787: a test order, placed.

On Cloudflare (a Workers Paid account):

  1. Commit the store: git add -A && git commit -m "A new Kedge store".
  2. Give the CLI credentials: CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID in .env.local, or npx wrangler login. pnpm kedge doctor --remote checks them.
  3. pnpm kedge deploy --jurisdiction <eu|us|fedramp|none>: where the store's data lives, chosen once.
  4. pnpm kedge staff invite-owner [email protected] --remote: your invite.
  5. pnpm kedge seed --sample apparel --url <store> --live and pnpm kedge smoke --url <store> --live: sample products and a test order on the live store.

Every command takes --json for a single result object on stdout. The installed @kedge/docs holds the guides for extending the store, matched to its version.