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

vellar-cli

v0.1.1

Published

CLI for discovering, quoting, paying for, and inspecting x402 resources on Stellar.

Readme

vellar-cli

Command-line tool for discovering, quoting, paying for, and inspecting x402 resources on Stellar.

Every command supports --json for machine-readable output.

Install

npm install -g vellar-cli

Commands

vellar search <query>

Search the Vellar Bazaar for payable resources.

vellar search "motivational quote"
vellar search "lorem ipsum" --limit 5 --json

Prints the resource URL, its price per accepted scheme, and the trust block. settlements and uniquePayers are counted from observed on-chain activity, so they are the only fields in a listing a seller cannot write themselves.

vellar quote <url>

Check the price of a resource without paying. One HTTP request: nothing is signed and no key is read.

vellar quote https://vellar-seller-demo.onrender.com/quote

Every payment option in the challenge is printed, including whether fees are sponsored. Without sponsorship the payer needs XLM of its own.

vellar pay <url>

Pay for a resource and print the content.

vellar pay https://vellar-seller-demo.onrender.com/quote \
  --secret-file ~/.vellar/key \
  --max 1000000

--max is a hard ceiling in the asset's base units. Stellar Asset Contracts use 7 decimals, so 1000000 is 0.1 units. The payment is refused, unsigned, if the price exceeds --max, if the seller offers no exact option on the chosen network, or if the seller does not advertise sponsored fees.

Only the exact scheme is payable from a classic keypair. An upto-only seller is reported rather than half-attempted.

Prefer --secret-file. A secret passed as --secret lands in shell history and is visible in the process table. VELLAR_SECRET works too, and keeps it off the command line.

Roughly one testnet settlement in three fails with an empty transaction field, which means nothing was spent and a fresh attempt is safe. A non-empty transaction means fees were charged: do not retry.

vellar inspect <tx-hash>

Look up a Stellar transaction by hash.

vellar inspect be33bb71b0a2c74c465bf0243c45e081bc7c5b66a337e2d8a5c0bbb82f54ede6

Prints the hash, success flag, ledger, fee charged, source account, and fee account. On a sponsored settlement the source and fee accounts differ and the buyer appears in neither, which is fee sponsorship shown on-chain rather than asserted.

Environment variables

| Variable | Meaning | | --- | --- | | VELLAR_FACILITATOR_URL | Facilitator base URL (default: the hosted instance) | | VELLAR_SECRET | Payer secret key, used by pay when no flag is given | | VELLAR_NETWORK | testnet (default) or mainnet |

Notes

Vellar runs on stellar:testnet only. The hosted facilitator sleeps after 15 minutes idle, so the first call after a sleep takes roughly 45 seconds.

Debug a paid route with GET, never HEAD: a HEAD request carries no payment challenge, so a correctly wired paid route looks free.

License

Apache-2.0