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

@delfini/cli

v0.2.1

Published

Delfini Skill CLI — deterministic, never calls an LLM. Subcommands: install, local-prepare, local-finalize, --reset-scope, --version. (P3.2.5 + P3.2.6 ship the doc-scope + trace primitives; subcommand wiring follows in P3.2.1 / P3.2.2 / P3.2.3 / P3.2.4.)

Readme

@delfini/cli

The command-line companion for the Delfini Skill — local documentation-drift detection inside your coding agent (Claude Code).

Delfini detects when a code change has made your docs wrong and proposes the one-click fix. The Skill is the way to run that check before you open a PR, right in your editor. The CLI is deterministic and never calls an LLM itself — your coding agent does the analysis with its own tokens, which is why the Skill costs your team nothing new: no Delfini account, no API key, no GitHub App.

Install

# Recommended — zero-install, always the latest version
npx @delfini/cli <subcommand>

# Or install globally
npm install -g @delfini/cli

Quick start

delfini install .

This scaffolds .claude/skills/delfini/SKILL.md into your repo, offers to auto-invoke /delfini when you open a PR, and gitignores the per-run trace folder. From then on, running /delfini in Claude Code analyzes your working tree against your docs and offers to apply the fixes:

Apply all (a) / Pick subset (s) / Skip (n)?

Under the hood the coding agent runs delfini local-prepare, dispatches a subagent against the prepared prompt, runs delfini local-finalize on the findings, and applies the approved edits — all using your agent's existing tokens.

Commands

delfini install <path>

Scaffold the Skill into a repo (idempotent — safe to re-run).

  • <path> — repo root or any subdirectory; resolves up to the git root.
  • Writes .claude/skills/delfini/SKILL.md, appends a /delfini block to CLAUDE.md (creating it if absent, never duplicating), and adds .delfini-trace/ to .gitignore.

delfini local-prepare [--scope <paths>] [--base <ref>] [--relevance-threshold <N>]

Assemble the analysis input for the coding agent to dispatch.

  • --scope <paths> — comma-separated paths overriding the persisted doc-scope, for this run only.
  • --base <ref> — diff base ref. Defaults to git merge-base HEAD origin/main.
  • --relevance-threshold <N> — render only the doc sections scoring at/above N against the diff, most-relevant-first up to the prompt budget. Default 5 (a measured ~40% prompt-token reduction on doc-heavy runs); pass 0 to embed every in-scope doc whole.
  • Writes analysis-input.json, analysis-prompt.md, and schema.json to .delfini-trace/.

delfini local-finalize <findings.json>

Validate the subagent's findings, reconcile line numbers, and render the report.

  • Writes .delfini-trace/report.md and prints it to stdout.
  • Exit code 0 when there are no drift/additive findings to apply, 1 when there are.

delfini diff-status

Report the branch's change state as JSON (used by the Skill protocol to choose what to analyze).

delfini --reset-scope

Delete the persisted .claude/skills/delfini/doc-scope.json.

delfini --version

Print the version.

What the CLI does NOT do

  • Never calls an LLM. All analysis is dispatched by your coding agent; the CLI ships no Anthropic / OpenAI / LangChain client and reads no API key.
  • Never touches the remote. It doesn't push, open PRs, or comment — it only reads your working tree and writes the doc fixes you approve.
  • Doesn't run in CI. The Delfini GitHub Action is the CI surface; it shares the same analysis core (@delfini/drift-engine), so a finding the Skill surfaces locally matches what the Action would surface on the PR.

License

Apache-2.0