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

plexus-peers

v0.2.2

Published

Plexus — CLI and mini web UI for peer dependency analysis

Readme

Plexus

CLI and a small web UI to inspect direct dependencies from a package.json: peer dependency ranges vs what is installed, optional bundlejs.com bundled gzip hints (esbuild), and a --fix mode that queries npm for upgrade and cascade notes.

Requires Node.js 18+ (uses the built-in fetch API).

The npm package is plexus-peers (the short name plexus is already used on the registry by another project).

Install

From npm:

npx plexus-peers --help

From a clone of this repo:

npm install
node bin/plexus.js --help

CLI

Run from a project that has package.json (and usually node_modules after npm install):

npx plexus-peers                      # Terminal report for the current directory
npx plexus-peers --dir ./my-app       # Another project root
npx plexus-peers -f ./path/to/package.json

| Option | Description | |--------|-------------| | --html | Write an HTML report (dep-graph.html in the project root, or use --out) | | --out <path> | HTML output path (with --html) | | --conflicts-only | Only list packages that have peer issues | | --fix | Call npm for latest metadata and print resolution hints (chatty; avoid on CI if logs matter) | | --bundlesize | With --html, query bundlejs.com per direct dependency (slow) | | --pkg <name> | Focus on one direct dependency and related peer rows |

Examples:

npx plexus-peers --html
npx plexus-peers --html --fix --bundlesize --dir ./my-app

Web UI (serve)

Starts a local server with a page to upload a package.json. The report is generated from the npm registry (semver resolution for each direct dependency). There is no local node_modules, so disk sizes are absent and only dependencies declared in the manifest contribute resolved versions for peers.

npx plexus-peers serve
# http://127.0.0.1:3847  (override with --port)

From the repo you can also run:

npm start

Optional checkboxes on the page match --fix and --bundlesize.

CLI vs upload

| | CLI (filesystem) | Web upload | |--|------------------|------------| | Versions | Read from node_modules | Resolved from registry against ranges in package.json | | Disk size | du on node_modules entries | Not available | | Peers only transitive | Can still be read from disk if present | Only if that package is also a direct dependency |

Development

npm install
npm run plexus -- --help
npm start   # serve UI on default port

License

MIT