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

aminet

v0.1.3

Published

CLI and GitHub Action for npm supply chain security reviews

Readme

aminet

npm version npm downloads Dependency Review Publish

aminet is a Node-executable CLI and GitHub Action for reviewing npm dependency risk.

It analyzes dependency graphs, vulnerabilities, licenses, security signals, trust, freshness, provenance, and version pinning, then renders the result as terminal output, machine-readable JSON, SBOMs, or PR review comments.

Status

  • Early project, pre-1.0
  • License: MIT
  • CLI and review output may still evolve

What aminet does

  • Analyze a package or project dependency graph
  • Review pull request dependency changes and post GitHub comments
  • Flag vulnerability, license, and supply chain concerns
  • Generate SPDX and CycloneDX SBOM output
  • Produce third-party notices output

Feature overview

  • Vulnerability scanning via OSV, GHSA, and npm audit
  • License categorization, deny-list checks, compatibility checks, and deep tarball license verification
  • Enhanced license intelligence via ClearlyDefined
  • Trust scoring from packument data, downloads, and deps.dev metadata
  • Freshness analysis for outdated or abandoned dependencies
  • Provenance checks for npm attestations
  • Phantom dependency detection
  • Version pinning analysis
  • PR review comments focused on changed direct dependencies

Requirements

  • Node.js >=20
  • pnpm >=10
  • npm ecosystem input (package.json, pnpm-lock.yaml, or package-lock.json)

Local setup

pnpm install
pnpm build
node dist/index.js --help

Install

Official distribution is through npmjs.org.

npx aminet --help
npm install -g aminet
pnpm add -g aminet

Quick start

Analyze a published package:

npx aminet analyze [email protected] --security --trust-score --freshness

Analyze a local project:

npx aminet analyze package.json --security --enhanced-license --json

Review dependency changes in a branch:

npx aminet review package.json --base HEAD~1 --security

Cache maintenance:

npx aminet cache stats
npx aminet cache prune

Example outputs

Representative analyze modes:

npx aminet analyze [email protected] --json
npx aminet analyze [email protected] --cyclonedx
npx aminet analyze [email protected] --spdx
npx aminet analyze [email protected] --notices

Representative review mode:

## aminet Dependency Review

| Metric | Count |
|--------|-------|
| Added | 1 |
| Removed | 0 |
| Updated | 1 |
| New Vulnerabilities | 2 |
| Resolved Vulnerabilities | 1 |
| New Security Signals | 1 |
| Resolved Security Signals | 0 |
| License Changes | 1 |

### New Vulnerabilities
| Package | Version | Severity | Advisory | Fixed | Source | Summary |
|---------|---------|----------|----------|-------|--------|---------|
| minimist | 1.2.8 | CRITICAL | GHSA-... | 1.2.6 | osv | Prototype Pollution |

### Updated Dependencies
| Package | Declared | Resolved | License |
|---------|----------|----------|---------|
| react | ^18.2.0 -> ^18.3.0 | 18.3.1 -> 18.3.2 | MIT |

CLI commands

Top-level commands:

  • analyze: dependency graph analysis for packages or local manifests
  • ci: JSON-oriented CI alias for analyze
  • review: PR review mode for direct dependency changes
  • cache: local cache inspection and pruning

Use the built-in help for the complete option set:

node dist/index.js analyze --help
node dist/index.js review --help

GitHub Action

This repository includes a composite action in action.yml.

For repository-local usage during development:

jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: pnpm/action-setup@v4
      - uses: actions/setup-node@v4
        with:
          node-version: "20"
      - run: pnpm install --frozen-lockfile
      - run: pnpm build
      - uses: ./
        with:
          path: package.json
          security: "true"

For remote usage after tagged releases are published, replace uses: ./ with uses: gorira-tatsu/[email protected].

Releasing

The intended release flow is tag-driven with npm trusted publishing.

  1. Update package.json to the release version
  2. Commit and push main
  3. Create and push a v<version> tag
  4. GitHub Actions publishes the matching npm package and creates a GitHub Release

You can also run the publish workflow manually with workflow_dispatch against a branch or tag. When you provide tag_name, it must still match package.json.

One-time prerequisite: configure npm trusted publishing for gorira-tatsu/aminet and the publish workflow in npm package settings.

Distribution

  • npmjs.org is the canonical package registry for aminet
  • GitHub Releases are the canonical release log and link back to npm
  • GitHub Packages is intentionally not used for now

Output modes

analyze can render:

  • human-readable table output
  • JSON
  • dependency tree output
  • Mermaid and Graphviz graphs
  • CycloneDX 1.5 SBOM
  • SPDX 2.3 SBOM
  • third-party notices output

Development workflow

Run the main checks before opening a PR:

pnpm lint
pnpm test

See CONTRIBUTING.md for contributor workflow details.

Packaging notes

The published package exposes an aminet executable through dist/index.js with a Node shebang.

  • npx aminet ... is the recommended zero-install UX
  • pnpm dlx aminet ... works, but may run with cache disabled when native SQLite bindings are unavailable
  • pnpm add -g aminet exposes aminet ... globally
  • repository-local development can use node dist/index.js ... after pnpm build

Security reporting

Do not report vulnerabilities in public issues. See SECURITY.md.