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

npmaargh

v1.0.2

Published

The npm audit assistant

Readme

npmaargh

The npm audit assistant - the "rgh" is for dramatic effect, capturing that all-too-familiar reaction to running npm audit: "aargh!" 😩

The npmaargh CLI is intended to help you resolve npm audit reports by showing you where in the dependency hierarchy upgrades are blocked. This is especially helpful when npm audit fix doesn't just solve the problem for you.

The report can be used to report blockers upstream or write more targeted override rules.

Usage

You can either install and run:

npm install --global npmaargh
npmaargh [flags...] [target]

Or use npx:

npx npmaargh [flags...] [target]

For example:

$ npx npmaargh --compact my-project
=== npm audit assistant ===
I'm here to help audit 'project'.

=== setup ===
Initialized.
Obtained audit report.
Analyzed audit report.

=== https://github.com/advisories/GHSA-abcd-1234-e5f6 ===
 <project>@0.4.2          # Blocker [[email protected]>1.2.4]
  [email protected]               # Need 1.2.4 (for [email protected])
   [email protected]              # Need 3.1.4
   [email protected]            # Upgradable (need 1.1.1)
  [email protected]             # Blocker [[email protected]>1.1.1 (https://github.com/he/llo/issues)]
   [email protected]            # Need 1.1.1

Let's unpack that report:

  • <project>@0.4.2 is the project we're analyzing.
  • # Blocker [[email protected]>1.2.4] indicates a change is required, namely that the package foo must be upgraded from 1.2.3 to 1.2.4.
  • [email protected] is a direct dependency of the project that we're using at v1.2.3.
  • # Need 1.2.4 (for [email protected]) indicates we need [email protected] so that we can pull in [email protected] transitively.
  • [email protected] is a transitive dependency of the project that is currently at v3.0.0.
  • # Need 3.1.4 indicates we need to bump it, because of a known vulnerability.
  • [email protected] is another transitive dependency of [email protected].
  • # Upgradable (need 1.1.1) indicates world can be upgraded to v1.1.1 now. It might currently not be installed because of a lockfile or deduplication.
  • [email protected] is another direct dependency of the project.
  • # Blocker [[email protected]>1.1.1 (...)] indicates a change is required in hello to upgrade world to a non-vulnerable version. A link for the bug tracker of hello is included to make it easy to report the blocker.
  • [email protected] is a transitive dependency of [email protected].
  • # Need 1.1.1 indicates we need to bump it, because of a known vulnerability.

License

This software is available under the AGPL-3.0-or-later license, see LICENSE for the full license text.