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

@ust-protocol/cli

v1.0.0-rc.39

Published

The reference `ust` CLI for UST (Universal State Transcript) 1.0 — verify a transcript, print canonical bytes for cross-language diffing, and run the HIGH genesis ceremony. One entrypoint; the Go binary reproduces this surface.

Readme

ust — the reference CLI

One entrypoint for UST 1.0 — verify machine-readable state, run the genesis ceremony, attest the discovery serving contract. The Go binary reproduces this surface, so ust is one static, language-agnostic tool.

npm i -g @ust-protocol/cli               # installs the `ust` command
npx @ust-protocol/cli verify doc.json    # or one-shot, no install

Commands

| command | what it does | |---|---| | ust verify <file\|-> | verify a transcript (blob / base64 / json). exit 0 = VALID, 1 = not. Auto-resolves the publisher's discovery + witness surfaces and cross-checks witness anchors (Rekor/Bitcoin) → VALID:HIGH out of the box when the no-fork evidence confirms | | ust verify <doc> --genesis <f> --keylog <f,f…> [--no-fork-confirmed] | the OFFLINE road: supply the trust chain yourself; --no-fork-confirmed is your air-gap assertion → VALID:HIGH | | ust witness rekor --domain <d> [--deploy] | log the genesis to Sigstore Rekor (a fast, independent witness substrate) and, with --deploy, serve/refresh /.well-known/ust-witness | | ust canon <file\|-> | print canonical bytes + hash — diff any other-language implementation against this | | ust genesis --domain <d> | run the HIGH genesis ceremony (interactive; see the road below) | | ust discovery <domain> [--mirror url,url] [--expect sha256:…] | attest the §20.1 serving contract on ANY infrastructure | | ust publish cf --domain <d> --genesis <f> [--auth wrangler] [--flip-proxy] | deploy the Cloudflare serving adapter for an existing genesis | | ust stream <frames…> [--genesis <f>] [--checkpoint <f>] | the RANGE verdict — chain · forks · completeness (a stream property, never a single document's) | | ust mirror <domain> [--publish gh --repo o/r] | publish + attest a second-vendor mirror (§20.1 vendor-independence) |

The tier ladder (what verify can prove)

LIGHT  — a lone document: signed + intact under the key it carries (self-asserted)
HIGH   — + name authority: the verifier RESOLVES genesis → key-log (+ no-fork witness)
TOP    — + anchored time: each document provably EXISTED by a real moment (e.g. bitcoin-ots)

Completeness is a separate RANGE verdict (ust stream over frames + a covering checkpoint) — VALID:TOP speaks about a document's anchored time, never about a stream being complete.

HIGH is a property of resolution, not of the file — and resolution is the DEFAULT: a bare ust verify slot.json fetches the publisher's /.well-known/ust-genesis, ust-keylog and ust-witness, cross-checks the witness anchors against their substrate (Bitcoin via @ust-protocol/ots-verify, Rekor via @ust-protocol/rekor-verify — both auto-detected when installed), and grants HIGH only on POSITIVE no-fork evidence. Air-gapped, supply the chain yourself:

ust verify slot.json --genesis ust-genesis --keylog ust-keylog-0 --no-fork-confirmed

ust genesis — the ceremony road

  1/5 🔑 ROOT key          the crown of your name — signs ONLY genesis & rotations; stays cold
  2/5 📜 genesis + key-log identity is born; a WARM operational key is added for daily signing
  3/5 🌐 DNS binding       _ust.<domain> TXT carries the genesis hash — tamper-evident, outside HTTP
  4/5 📡 serving + gate    https://<domain>/.well-known/ust-genesis serves EXACTLY these bytes
                           (checked fail-closed, with propagation retries)
  5/5 ⚓ witness / anchor  PREPARED at ceremony time — executed for real by `ust witness rekor`
                           (+ your Bitcoin/OTS stamp); the CLI never claims a stage it did not run

The ceremony is interactive: it prints this map at every step, explains each human moment (what the passphrase protects, what each file is), and ends with a summary — identity, custody table, tier ladder, next moves.

Two roads, one contract

The serving contract is infrastructure-agnostic (properties, not vendors). The ceremony asks which road you want — or preselect with flags:

  • By hand on YOUR infra (default) — exact instructions for any DNS panel and any web stack (static host, nginx, corporate cloud). The CLI then verifies fail-closed: DoH readback for the TXT, live content-hash match for the well-known.
  • Cloudflare one-click (--dns cf-api --publish cf --auth wrangler) — the combined minimal-credential flow:
    1. npx wrangler login --scopes account:read user:read workers_scripts:write workers_routes:write zone:read — browser OAuth, 5 scopes, not wrangler's default 28
    2. a DNS-only API token (the CLI prints a prefilled creation link; ~1 h TTL recommended, revoke after)
    3. the worker embeds your genesis (no bucket, no origin), the route serves /.well-known/ust-genesis, the edge cache key is the path — unknown ?query params can never mint cache entries

--flip-proxy is explicit because it changes how your WHOLE site is served (apex goes behind the proxy).

Outputs & custody

| file | class | custody | |---|---|---| | ust-genesis, ust-keylog-0 | PUBLIC | verifiable by anyone — ust verify them | | genesis-key.enc.b64 | 🧊 COLD | crown backup — keep the file and its passphrase APART; needed ~yearly (rotate/revoke) | | operational-key.b64 | 🔥 WARM | your producer's signing-key secret (an env var of YOUR naming), then DELETE the file |

Profiles — each tier is about its own thing

| profile | root | backup | |---|---|---| | bronze | software | plain b64 (quick floor) | | silver | software | passphrase-encrypted (the standard operator ceremony) | | gold | hardware (pkcs11 / air-gapped) | — this CLI cannot drive a hardware signer yet and refuses honestly instead of pretending; a silver root upgrades to hardware later via a §12.1 supersession |

Other flags: --max-partitions N (signed capacity — bounds earned by ceremony) · --witness url,url (prepared at ceremony; execute later with ust witness rekor). Every option is also asked interactively — flags only preselect.

ust discovery — attest any stack

Four probes of the §20.1 serving contract, fail-closed, honest verdict:

✅ well-known verifies (§14) and matches the expected hash
✅ _ust TXT carries the same hash        (mismatch = FAILED, absence = NOT ATTESTED)
✅ query-robustness: a random unknown ?param returns byte-identical bytes
⬜ vendor-independence: every declared --mirror carries the same content_hash

Verdict: ATTESTED (everything ran and passed) / PARTIAL (no violation, but unchecked properties remain — with targeted hints) / FAILED (exit 1). Conformance is never granted on unchecked properties.

Custody model

The MCP holds no key; this CLI signs locally with keys that never leave your machine. The ceremony tool never emits an output it has not verified, and never claims a stage it did not run.