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

@onchaindiligence/cli

v0.1.1

Published

Command-line client for the OnchainDiligence compliance API. Screen wallets, names, and companies — and verify signed attestations locally, with no key required.

Readme

@onchaindiligence/cli

Compliance checks from the command line — a thin wrapper over @onchaindiligence/sdk.

Screen wallets, names, and companies, and verify signed attestations locally with no key required.

# no install needed — run it directly
npx @onchaindiligence/cli --help

Free commands (no key)

These need nothing but Node 18+. Great for CI and quick checks.

# Verify a signed attestation locally (Ed25519, against the published key)
npx @onchaindiligence/cli verify result.json

# API + upstream status
npx @onchaindiligence/cli health

# Is an attestation anchored on Tempo?
npx @onchaindiligence/cli anchored <signature>

verify exits 0 if valid, 3 if the signature doesn't verify, 2 if the response was unsigned — so it drops straight into a CI step.

Paid commands (need a payer key)

Each of these settles a real per-call payment on-chain, so they need a funded payer key in PAYER_KEY:

export PAYER_KEY=0x…   # a viem private key funded on the payment rail

npx @onchaindiligence/cli screen 0x7f268357A8c2552623316e2562D90e642bB538E5
npx @onchaindiligence/cli screen-name "Vladimir Putin"
npx @onchaindiligence/cli company 00000006
npx @onchaindiligence/cli us-company AAPL
npx @onchaindiligence/cli diligence 0x7f26… 00000006
npx @onchaindiligence/cli anchor <signature>

If PAYER_KEY isn't set, paid commands stop with a clear message instead of failing mid-request.

Flags

| Flag | Effect | |------|--------| | --json | Raw JSON output, for piping | | --threshold=N | Name-screen match threshold (screen-name only) | | -h, --help | Usage | | -v, --version | Version |

Install globally (optional)

npm install -g @onchaindiligence/cli
onchaindiligence health      # or the short alias:  ocd health

Notes

  • Output is JSON by default so results pipe cleanly into jq or a file.
  • OCD_BASE_URL overrides the API base (defaults to production).
  • This CLI adds no compliance logic of its own — it's a presentation layer over the SDK, so the two never drift.

License

MIT