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

@routon/cli

v0.1.0

Published

Routon Protocol command-line interface.

Readme

Routon CLI (@routon/cli)

Command-line interface for Routon Protocol — builder registration, Brahma migration, simulation.

Status: v0.1.0 ready for first publish. Commands simulate (W5-A1) + migrate-brahma (W5-A2) + register-builder (W5-A3) are implemented against the in-process mock-tier surface. Live RPC + Ledger signing land in Phase 3 testnet per the Path-C deferral pattern documented in each command. Full design in ../specs/cli.md.

Install

pnpm add -g @routon/cli
# or run via npx
npx @routon/cli --help

After install, the CLI binary is invoked as routon (the package name is @routon/cli per npm scope discipline; the binary command name is routon per oclif bin config):

routon simulate --asset USDC --amount 1000 --chain base
routon migrate-brahma --print-mapping-table
routon register-builder --label TGBOT01 --chain base

Distribution: npm scoped namespace + GitHub releases. macOS .pkg + Linux GPG-signed binaries land in a Wave 5+ follow-up after the founder Apple Developer enrollment completes.

Commands (v0)

routon register-builder   Register a builder code in BuilderCodeVault (W5-A3).
routon migrate-brahma     Migrate a Brahma console to Routon (W5-A2).
routon simulate           Simulate a strategy locally before broadcast (W5-A1).

More subcommands track specs/cli.md.

Local dev

pnpm install
pnpm --filter @routon/cli run dev -- --help
pnpm --filter @routon/cli run build && node cli/dist/index.js --help
pnpm --filter @routon/cli run test    # Vitest, 77 unit tests covering all 3 commands

Release process

CI workflow: .github/workflows/cli-publish.yml. Two-phase publish posture — first publish creates the npm package; Trusted Publisher binding is per-package and cannot be configured before the package exists.

Phase A — first publish (v0.1.0)

The @routon/cli npm package does not yet exist; Trusted Publisher (TP) cannot be pre-bound. First publish uses NPM_TOKEN classic auth (no --provenance).

  1. Bump cli/package.json version to 0.1.0 + commit (already done).
  2. Tag + push:
    git tag cli-v0.1.0
    git push origin cli-v0.1.0
  3. The cli-publish.yml workflow runs automatically on the tag push. It checks version consistency, runs build + tests, then publishes via NPM_TOKEN (organization secret pre-configured during Wave 3 SDK publishing setup; same Granular Access Token covers all @routon/* scoped packages).
  4. Post-publish: the workflow surfaces a notice reminding the founder to complete Phase B binding.

Phase B — bind Trusted Publisher (v0.1.1+)

After Phase A completes, the @routon/cli package exists on npm and TP can be bound.

  1. Visit npmjs.com/package/@routon/cli/access → "Trusted publishers".
  2. Add a new Trusted Publisher:
    • Repository: Dmitrze/routon-protocol
    • Workflow filename: .github/workflows/cli-publish.yml
    • Environment: (leave blank or set release)
  3. In GitHub repo settings → Secrets and variables → Actions → Variables, add:
    • Name: TRUSTED_PUBLISHER_ENABLED
    • Value: true
  4. Future publishes (git tag cli-v0.1.1 && git push origin cli-v0.1.1) auto-detect the variable and add --provenance for OIDC-attested supply-chain provenance — same posture as @routon/sdk will adopt post-Wave-4 (per docs/SDK-PUBLISHING.md).

Dry-run

To exercise the workflow without publishing (build + test + npm publish --dry-run):

gh workflow run cli-publish.yml -f dry_run=true

License

MIT — see ../LICENSE-MIT.txt.