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

depcrumbs

v1.0.1

Published

Dependency audit trail for Claude Code — tracks every package installation with full metadata

Readme

DepCrumbs

Every install leaves a trail.

Full audit trail for every package your AI assistant installs — automatically.

MIT License npm version Node.js

Website · Getting Started · How It Works · Roadmap


DepCrumbs hooks into Claude Code and records every dependency installation with rich metadata — version, license, registry source, integrity hash, and dependency tree. Across 10 package managers. With zero configuration.

$ npm install express lodash
[DepCrumbs] [email protected] — MIT — sha512-abc...
[DepCrumbs] [email protected] — MIT — sha512-def...
Saved to .depcrumbs.json

Why?

When AI assistants install packages on your behalf, you lose visibility. DepCrumbs gives it back:

  • What was installed — exact package, exact version
  • Where it came from — registry URL and integrity hash
  • What license it uses — MIT? GPL? Unknown?
  • What it depends on — full dependency tree
  • When and how — timestamp, command, working directory

Getting Started

Claude Code Plugin

claude plugin add depcrumbs

That's it. Hook is configured automatically.

Standalone CLI

npm install -g depcrumbs
depcrumbs setup

setup adds a PostToolUse hook to ~/.claude/settings.json. Tracking begins immediately.

Supported Package Managers

| Manager | Install Commands | Registry | |---------|-----------------|----------| | npm | npm install, npm i, npm add, npm ci | npmjs.org | | yarn | yarn add, yarn install | npmjs.org | | pnpm | pnpm add, pnpm install | npmjs.org | | pip | pip install, pip3 install, python -m pip install | PyPI | | uv | uv add, uv pip install | PyPI | | cargo | cargo add, cargo install | crates.io | | go | go get, go install | proxy.golang.org | | gem | gem install | rubygems.org | | composer | composer require | packagist.org | | brew | brew install, brew reinstall | formulae.brew.sh |

How It Works

Claude Code runs "npm install express"
         │
         ▼
   PostToolUse hook fires
         │
         ▼
   Parser detects install command
         │
         ▼
   Enricher fetches metadata from registry
         │
         ▼
   Storage writes to .depcrumbs.json + ~/.depcrumbs/
  1. Hook — A PostToolUse hook on Bash fires after every command
  2. Parse — Detects install commands across all 10 managers
  3. Enrich — Fetches license, version, hash, and deps from the registry
  4. Store — Writes per-project .depcrumbs.json and global ~/.depcrumbs/global.json

CLI

depcrumbs init          # Create .depcrumbs.config.json
depcrumbs setup         # Configure Claude Code hooks
depcrumbs log           # View audit trail (--since, --package, --manager filters)
depcrumbs export        # Export as JSON or CSV (--csv)
depcrumbs status        # Health check — is the hook installed?

Output

JSON (default)

{
  "timestamp": "2026-04-14T20:15:00.000Z",
  "packageManager": "npm",
  "command": "npm install express",
  "packages": [{
    "name": "express",
    "resolvedVersion": "4.21.0",
    "license": "MIT",
    "registryUrl": "https://registry.npmjs.org/express",
    "integrityHash": "sha512-...",
    "isDirect": true,
    "directDependencies": ["accepts", "body-parser", "..."]
  }]
}

Markdown

## 2026-04-14T20:15:00.000Z

- **Package Manager:** npm
- **Command:** `npm install express`

| Package | Version | License | Registry | Hash |
|---------|---------|---------|----------|------|
| express | 4.21.0  | MIT     | npmjs    | sha512-... |

Configuration

depcrumbs init

Creates .depcrumbs.config.json:

{
  "format": "json",
  "enrichment": {
    "license": true,
    "integrity": true,
    "dependencyTree": true
  },
  "ignore": []
}

Set "format": "markdown" for human-readable output.

Roadmap

  • Multi-tool support — Codex CLI, Warp, terminal integrations
  • SBOM export — CycloneDX and SPDX formats
  • Vulnerability scanning — Cross-reference against CVE databases
  • Dashboard UI — Browse dependency history in a web interface
  • Team audit logs — Shared trails with role-based access
  • Policy enforcement — Block packages that violate license policies

Contributing

Contributions are welcome! See the testing guide for how to set up a local development environment.

License

MIT