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

@kaisers-io/refs

v0.19.3

Published

Gives coding agents the real source of your dependencies, not a guess.

Readme

@kaisers-io/refs

Real source code for coding agents.

Ask about your dependencies and your team's repositories

/refs I want to upgrade effect. what changed since the version we use,
and what do I have to adjust

That takes four steps. The agent reads the version your project depends on, finds the repository behind the package, compares that release with the current one, and then goes back through your own code for the places the change touches. Answers name the file and line they came from, so you can check them.

/refs I changed how our orders API paginates. check billing-worker and
the admin dashboard: do they call it, and what has to change

This one runs the other way. It starts with a change in your own repository and asks what it reaches. The agent reads the consumers you name, finds the call sites, and tells you which ones your change breaks. None of those repositories are public, and nothing the agent says about them comes from anywhere but the checkout it just read. refs keeps them as read-only git checkouts on your machine, through the git credentials you already have.

Why not just clone it?

Your agent can already clone a repository. Cloning is the easy part. refs keeps the repositories you name, sends a question to the right one, refreshes them when they go stale, and gives the agent a repeatable way to read them.

What you save is the bookkeeping. You do not remember where a clone went, paste a path, or open anything first. You say the name, from whichever project you happen to be in.

You talk to the agent, not to the CLI

This package is the CLI. The skill that drives it installs separately:

npm i -g @kaisers-io/refs
refs init                        # seeds the refs home and the git hooks guard
npx skills add kaisers-io/refs   # installs the agent skill
refs doctor                      # confirms git, node and the setup

You need Node.js 24.2 or newer, and git. On Windows use Git for Windows, because the read-only guards are sh scripts and need the shell it ships with. The CLI behaves the same on all three platforms, and its full test suite runs on each of them.

/refs is what reaches the skill in Claude Code. In Codex the same thing is $refs. It never activates on its own, so questions that need no source code cost you nothing.

Then talk to the agent:

/refs add npm:effect as a ref

It clones the repository, works out how the project tags its releases, and shows you what it found. Nothing enters your configuration until you approve it.

That happens once. Effect is a ref from then on, and every later question about it goes straight to the checkout, from any project and any session.

Three ways to name the same repository. All of them resolve to the key github.com/Effect-TS/effect:

| Source | What it is | | ------------------------------------- | ------------------------------------------------------------------ | | npm:effect | The package name. refs reads the repository out of the registry. | | https://github.com/Effect-TS/effect | The repository itself, as you would clone it. | | [email protected]:Effect-TS/effect.git | The same over ssh. |

The npm: prefix says which registry the name belongs to, so a package and a repository that share a name cannot be confused for one another. A private repository or a self-hosted forge works the same way, and the credentials stay in your git configuration because refs refuses to take any in the URL.

Driving the CLI yourself

The agent runs these. Typing one yourself is quicker for some of them, and refs sync is the one most people reach for. refs doctor is the one to run after updating refs: the CLI and the skill each carry a version, and it says when they have drifted apart. Upgrading has the commands that move both.

# clones and proposes; nothing is configured yet
refs add npm:effect --dry-run --json > proposal.json
# fill in every empty description, including each package's
refs add --proposal proposal.json --json   # finalize
refs sync --json                           # fetch every configured ref

That middle line is the work the agent does for you. A monorepo ships dozens of packages and each wants a description, written from what the source says rather than copied out of a manifest.

The full command reference has every flag, every --json shape and every exit code.

What lives on your machine

Checkouts sit under ~/.kaisers-io/refs/sources/ as ordinary git repositories, in one place rather than one per project, so every session reaches the same collection. You can open them in your editor, grep them, and read them without an agent. Set REFS_HOME to keep them somewhere else, on another disk for instance, and everything refs owns moves with it: see configuration. No service holds a copy of your code. What the agent reads is handled under that agent's own model and data settings.

A checkout is the default branch at the revision you last fetched. It is not necessarily the version you have installed, and it does not refresh itself. refs sync fetches, and the skill runs it when a checkout has gone stale.

Read-only is a promise, not a sandbox

Every checkout under sources/ is reference material. Agents are instructed never to edit, commit or push inside one, and refs installs git hooks that reject both. When a checkout gets dirty anyway, refs sync restores it.

The hooks are a backstop against mistakes, not a security boundary. A determined local process can still write into a checkout.

More

MIT licensed.