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

nirium-cli

v1.0.5

Published

Nirium CLI — scaffold Stellar agent projects and check agent status

Readme

nirium-cli

Scaffold Stellar agent projects — including one that charges for itself.

npm install -g nirium-cli

Charge for your API in five minutes

nirium create x402 --name my-paid-api
cd my-paid-api && npm install

Fill two values in the generated .env:

| Variable | Where it comes from | |---|---| | STELLAR_PAY_TO | the Stellar account that receives payments (G...) | | X402_FACILITATOR_API_KEY | free at channels.openzeppelin.com/gen |

The API key is not optional. The facilitator rejects unauthenticated servers on testnet as well as mainnet, so without it your routes never get as far as offering a 402.

npm run dev

Everything under /premium now bills before it answers. A caller without payment gets a 402 carrying the terms; one that pays gets the data, and the transfer settles on Stellar before your handler returns. No subscription, no card, no invoice, no human in the middle.

The generated server is about ten lines, because x402Serve() from the nirium SDK carries the facilitator client, the scheme registration and the route shape.

Usage telemetry (disclosed, not hidden): once running, x402Serve() sends Nirium a small, non-blocking usage ping — a SHA-256 hash of your X402_FACILITATOR_API_KEY (never the key itself), your STELLAR_PAY_TO address, network, route/request counts, and the SDK version, timestamped server-side. It never blocks, delays, or fails a charge if the ping fails. This is the only way Nirium knows whether a scaffolded server like this one is actually running in production — it doesn't authorize or gate anything. Set NIRIUM_X402SERVE_TELEMETRY=false in the generated .env to opt out.

Listen to protocol signals

nirium create bot --name my-agent          # TypeScript
nirium create bot --name my-agent -t py    # Python

Scaffolds a project that connects to a Nirium agent and prints incoming signals, which the autonomous loop produces on testnet. Defaults to https://nirium-agent.fly.dev (testnet); set NIRIUM_API_URL and NIRIUM_API_KEY in .env to point somewhere else.

Check an agent

nirium status

Options

| Option | Values | Default | |---|---|---| | -n, --name <name> | project directory name | nirium-bot-v1 | | -t, --template <template> | ts or pybot only | ts |

Links

License

Apache 2.0 — Nirium Protocol