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

@kodezen/create-storeengine

v0.2.1

Published

Scaffold a new headless StoreEngine storefront in seconds.

Readme

@kodezen/create-storeengine

Scaffold a headless StoreEngine storefront — Next.js 16 + React 19, wired to your WordPress site — in about a minute.

npm create @kodezen/storeengine@latest my-storefront

Also works with your package manager of choice:

pnpm create @kodezen/storeengine my-storefront
yarn create @kodezen/storeengine my-storefront
bun create @kodezen/storeengine my-storefront

What it does

  1. Clones the canonical Next.js starter template.
  2. Asks for your WordPress URL and preferred design mode.
  3. Writes .env.local, generating the webhook, preview and session secrets for you.
  4. Installs dependencies with the package manager you pick.
  5. Prints the remaining WordPress-side checklist.

The generated project depends on @kodezen/storeengine-headless, which carries the SDK, hooks, providers, REST proxy, webhook receiver and the Gutenberg/Block Theme bridge.

Design modes

The scaffolder asks which one you want; it only sets a default, and you can change it later via NEXT_PUBLIC_DESIGN_MODE.

| Mode | What you get | | --- | --- | | custom | You design everything in React/Tailwind. WordPress is a data source only. | | hybrid | Custom cart, checkout and account screens, with Gutenberg-authored content pages. The default, and the usual right answer. | | block-theme | Layout is pulled from your active WordPress block theme, templates and template parts included. |

After scaffolding

Three things are set up on the WordPress side — the CLI prints this list too:

  1. Embed key — StoreEngine → Settings → Embeddable Checkout → Embed Keys. Add your dev origin, then paste the key into STOREENGINE_EMBED_KEY.
  2. Live updates — enable the Webhooks addon, then point a webhook at /api/revalidate using the STOREENGINE_WEBHOOK_SECRET already generated in .env.local.
  3. Auth — sign-in uses WordPress's built-in Application Passwords, so there is no plugin to install. Your WordPress site must be served over HTTPS; WordPress disables Application Passwords otherwise.

Full checklist: docs/wordpress-setup.md.

Adding components later

The generated project also gets the storeengine CLI, which copies prebuilt component source into your project so you can edit it:

npx storeengine list
npx storeengine add storefront/cart-drawer

Full reference for both CLIs: docs/cli.md.

Requirements

  • Node.js 20 or newer
  • A WordPress site running StoreEngine, reachable over HTTPS

License

MIT © Kodezen