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

@solidus-network/cli

v0.1.0

Published

Solidus Network CLI — wire did:solidus, verify, and agent identity into your app in one command

Readme

@solidus-network/cli

Wire Solidus — self-sovereign identity, verifiable credentials, did:solidus — into your app in one command. Every command is agent-unattended: --json output, clean exit codes (0 ok / 1 error), no prompts required. Your coding agent can run it directly.

Install

No install needed — run it with npx:

npx @solidus-network/cli init

Or install globally:

npm install -g @solidus-network/cli
solidus init

Commands

| Command | Does | Needs a key? | |---|---|---| | solidus init [--yes] [--with-mcp] | Detect your framework (Next.js today) and wire in .env.local placeholders + a lib/solidus.ts SDK stub | No — write-only to local files, never a secret | | solidus did resolve <did> | Resolve a did:solidus DID document | No | | solidus did create --public-key <hex> [--signer-key <hex>] | Register a DID the signer key owns | Yes — SOLIDUS_SIGNER_KEY env var or --signer-key | | solidus credential verify <vcId> | Verify a Solidus verifiable credential | No | | solidus mcp install | Add @solidus-network/mcp (the Solidus MCP server — run-time agent tools) to this project's .mcp.json, merging with any existing servers | No |

--with-mcp is opt-in and off by default — even under --yes. solidus init scaffolds the target app; solidus mcp install configures the target app's own agent tooling — a separate consent boundary a Next.js scaffold shouldn't silently cross. Pass --with-mcp explicitly to chain the two: solidus init --yes --with-mcp runs init then mcp install in one step and returns a merged result ({"framework":...,"wrote":[...],"mcp": {"wrote":"...", "alreadyPresent":false}}).

Every command also accepts the global --json flag for machine-readable output.

--json contract

  • --json on: stdout is exactly one line of JSON.stringify(result) — no color, no spinner, no extra logging.
  • --json off: stdout is human-readable (key: value per line).
  • Exit 0: the command completed and printed a result — even a "not found" answer (did resolve on an unregistered DID returns {"resolved":false} with exit 0; that is a valid answer, not an error).
  • Exit 1: the command threw — network failure, invalid input, missing signer key. The error message goes to stderr, formatted the same way (--json{"error": "..."}, human → plain text).

Environment variables

| Variable | Default | Used by | |---|---|---| | SOLIDUS_RPC_URL | https://rpc.solidus.network | every command | | SOLIDUS_SDK_MODE | testnet | every command | | SOLIDUS_SIGNER_KEY | none | did create only |

solidus login (interactive credential storage) is not shipped yet — set SOLIDUS_SIGNER_KEY yourself for now.

Quickstart: wire a Next.js app, then resolve and verify

cd my-nextjs-app
npx @solidus-network/cli init --yes --json
# {"framework":"nextjs","wrote":["/path/to/my-nextjs-app/.env.local","/path/to/my-nextjs-app/lib/solidus.ts"]}

npx @solidus-network/cli did resolve did:solidus:testnet:doesnotexist --json
# {"did":"did:solidus:testnet:doesnotexist","document":null,"resolved":false}

npx @solidus-network/cli credential verify vc-123 --json
# {"vcId":"vc-123","result":{"valid":false,"error":"Credential not found","checks":{...}}}

init is idempotent and non-destructive: re-running it never clobbers existing content and writes nothing new once your app is already wired.

License

Apache-2.0