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

@projectpac/web

v0.6.0

Published

Part of PAC: @projectpac/web.

Readme

The web face

One page, no build step, no assets. pac ui serves it:

pac ui            # http://127.0.0.1:7454
pac ui --port 8080

What it shows, first, is what every flow on the node produced -- read through the results surface, so the page knows no flow's route -- then what the node holds, read through the sources surface the same way, and then the trace, runs and their turns, sessions, peers, and the installed plugins with whether each is actually running. A node without @projectpac/results or @projectpac/sources installed says so in place of that tab.

Why it is not served by the control API

The spec is explicit that a UX is a client of the API and not part of the node: the faces of the control API are "clients of this API rather than parts of it". So this is a second UX that happens to speak HTML, served by a little server of its own rather than by the daemon.

That server does two things, and both are the point:

  • It serves one file. No script, style, or image comes from anywhere, and the page says so in its own content-security-policy. A page that cannot fetch from elsewhere cannot send a node's state elsewhere.
  • It proxies the API and adds the token. The browser never holds the token, everything the page does is same-origin, and the node needs no cross-origin allowance to be looked at. The proxy will only sign for an allowlist: reads, and enabling or disabling one plugin.

Everything else a token can do -- installing or removing a plugin above all, which runs somebody else's code -- is deliberately not something a page can ask for. Those are the CLI's, where the operator types them.