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

rustine

v0.1.0

Published

Rustine's security analysis of your repository, on your machine: secrets, risky code, known vulnerabilities. Nothing of your code leaves it.

Readme

rustine

Rustine's repository analysis, run on your machine or in your CI. It looks for secrets written in the code or left in the git history, risky code (SQL built by hand, HTML injected unescaped, routes without a check…), packages with known vulnerabilities, and risky configuration. The rules are the same as an analysis in rustine.io.

npx rustine scan

Your code never leaves the machine. Only the list of packages (ecosystem, name, version) is sent to Rustine to compare it with known vulnerabilities, and nothing of it is kept. --offline skips that step.

Commands

rustine scan [folder]      analyses the folder (the current one by default)
  --fail-on <severity>     critical, high (default), medium, low or none: exit code 1 at or above
  --json <file>            writes the result as JSON (- for standard output)
  --sarif <file>           writes SARIF for GitHub's Security tab
  --offline                does not check packages against known vulnerabilities
  --no-history             does not read the git history
  --lang fr|en             the language of the report (the terminal's by default)

rustine fix <n> [folder]   prints the prompt of problem n from the last analysis
  --copy                   copies it to the clipboard, to paste into your coding agent

What git ignores (.env.local, build folders…) is not read: the analysis sees what a clone of the repository would hold. The history is read only from the root of the repository.

Exit codes: 0 nothing at the threshold, 1 at least one problem at or above --fail-on, 2 the analysis could not run.

Known vulnerabilities and the API key

Without a key, 30 checks an hour per network. With RUSTINE_API_KEY (a key from your Rustine account, Settings → API keys, from the Solo plan), the limit is lifted. A refused key is reported and the rest of the analysis is still printed.

GitHub Action

- uses: mben-dev/rustine-scan@v1
  with:
    fail-on: high

The results show in the Security tab of the repository and in the job summary.

License

Free to use, on your projects and your clients'. See LICENSE.md.


En français

L'analyse de dépôt de Rustine, sur ta machine ou dans ta CI : secrets écrits dans le code ou restés dans l'historique git, code à risque, paquets aux failles connues, configuration fragile. Mêmes règles qu'une analyse sur rustine.io.

npx rustine scan
npx rustine fix 1 --copy

Ton code ne quitte jamais la machine. Seule la liste des paquets (écosystème, nom, version) part vers Rustine pour les failles connues, et rien n'en est gardé ; --offline l'évite. Sans clé, 30 vérifications par heure ; RUSTINE_API_KEY (Réglages → Clés d'API, dès Solo) lève la limite. Ce que git ignore n'est pas lu. Code de sortie 1 dès qu'un problème atteint --fail-on (high par défaut).