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

refyard

v0.1.1

Published

A browser workbench for a Git repository on this machine: loopback only, authenticated, and it drives the machine's own git.

Readme

refyard

A browser workbench for a Git repository on this machine. It starts a local service that serves a web UI and talks to the git you already have, against repositories you explicitly approve. Nothing is uploaded, and there is no hosted component.

Requirements

  • Node 22 or newer (engines: >=22 <27). Development and releases run on 26.8.2. The packaged CLI serves, pairs, reads, previews and stages correctly under 22.11.0, 22.23.2, 24.10.0, 25.2.1 and 26.8.2 — and under 20.19.0 as well, which the range leaves out only because Node 20 is past end of life.
  • git 2.43 or newer for the full operation set. Older Git still works for most of it: refyard doctor --json reports featureVersionSupported and lists which probes your Git supports, and the service then omits the operations it cannot run instead of failing later.
  • macOS, Linux or Windows.

Run it

# Open a repository in the browser (picks the default port, opens the page for you).
npx refyard open /path/to/repo

# Or start it without opening a browser and print a pairing URL yourself.
npx refyard serve --repo /path/to/repo --no-open --ticket-ttl 600

The first run prints a pairing URL — open it to connect the page to the service. Each ticket is single use; serve can print another (press p then Enter) and --ticket-ttl extends how long one lives (60 seconds by default).

Installed globally, the command is just refyard:

npm install --global refyard
refyard open /path/to/repo

Check the installation with:

refyard doctor --json     # node, git, and one probe per Git feature the service gates on

How it behaves

  • Loopback only. The service binds 127.0.0.1 and refuses foreign Origin/Host headers. There is no flag that widens this.
  • Everything is authenticated, reads included. Pairing exchanges a single-use ticket for an in-memory bearer token that never touches disk.
  • It runs your git, as you. Hooks, filters, credential helpers and your SSH configuration all apply. Destructive operations (discard, worktree removal, stash drop/pop, branch delete) ask for confirmation, back up what could be lost first, and refuse to run when a precondition cannot be verified.
  • Repositories are approved explicitly. The service can only reach directories you handed it.
  • Unknown is reported as unknown. If Git's outcome cannot be determined, the operation is reported as needing attention rather than as succeeded, and it is never retried automatically.

What it does not do

No hosted or remote service, no built-in terminal, no plugin host, no credential storage. The complete set of operations this build implements is whatever GET /api/v1/capabilities returns from your installation — anything absent from that list is not implemented, not hidden.

License

UNLICENSED — this package is proprietary. Publishing it here makes it installable, not usable: no license is granted to use, copy, modify or redistribute it. See the package metadata.