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

@runsnative/recipe

v1.1.0

Published

Recipe CLI — add, check, update, and eject tracked RunsNative recipes

Readme

@runsnative/recipe

Add, check, update, and eject tracked RunsNative recipes.

A recipe is source you own, not a dependency you call. recipe add copies it into your tree and records, per file, whether upstream owns it (synced) or you do (owned). Later, recipe update 3-way-merges upstream's changes into the synced files and never touches the owned ones. That is the whole idea: you keep your nav items and your logo; you still get upstream's accessibility fix.

npm i -D @runsnative/recipe @runsnative/recipe-header
npx recipe add header --dir src/chrome

Commands

| Command | Does | |---|---| | recipe add <name> | Seed a tracked instance from canonical. Refuses to clobber. | | recipe check <name> | Re-hash against canonical. Reports the instance's real state. | | recipe update <name> | 3-way-merge synced files to current canonical. Owned files untouched. | | recipe eject <name> | Stop tracking. Everything becomes owned; writes a tombstone. |

States, and what they mean

| State | Exit | Meaning | |---|---|---| | up-to-date | 0 | Nothing to do. | | customized | 0 | You edited an owned file. That is the point of owning it — green. | | update-available | 1 | Canonical moved on. Run recipe update. | | locally-drifted | 2 | You hand-edited a synced file. Resolve before updating. |

Where canonical comes from

recipe add, check, and update all need canonical. It is resolved in this order:

  1. --canonical <dir> — an explicit directory.
  2. --runsnative-root <path> — a runsnative checkout. Auto-detected when the CLI is running from inside one.
  3. @runsnative/recipe-<name>, via node module resolution. This is the path for everyone outside the monorepo: install the recipe package and the CLI finds it in node_modules.

If none resolve, the CLI says so and names the package to install. It will not report up-to-date for a recipe it cannot see — a green that was never computed is worse than an error.

No network, no account

check and update read canonical off your disk. They make no HTTP call, need no RunsNative account, and work offline. npm supplies the versioning and integrity hashes. If you stop paying RunsNative for anything, this keeps working — the tracked rung is carveable to pure-npm operation, and tests/reachability.test.js proves it in a scratch directory with no runsnative checkout present.

The optional recipe.config.json at your project root sets the default channel and the automation policy. Absent, the documented defaults apply; autoMerge.mode hard-defaults to off, so nothing is ever applied without your explicit opt-in.

Requires Node >= 18. License: MIT.