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

@atcn/verify-cli

v1.5.1

Published

atcn-verify: check a signed ATCN closure, receipt, closure package or clearing verdict offline, without contacting anyone

Readme

@atcn/verify-cli

atcn-verify checks a signed ATCN document on your machine, without contacting anyone. Use it when someone sends you a task closure, a receipt or a closure package and you want to know whether it's genuine and whether its numbers add up.

It checks the signatures, recomputes the totals and exceptions from the records inside, and prints each check with its result. It accepts:

  • task closures (the signed summary of an agent job and its costs);
  • provider receipts (what one provider sees of a task);
  • obligation closure packages (the signed record of paid work and how it was accepted);
  • clearing verdicts (an obligation's decision, for a payment rail to read).
npx @atcn/verify-cli task-closure.json --keys keys.json

To try it, run npx @atcn/local-runner demo: it writes a closure, its keys and its closure packages, and prints the exact atcn-verify command to check them.

Options

  • --keys: the signer's public keys, as a JSON array of key records or {"items": [...]}.
  • --obligation-package: cross-checks a closure's linked obligations against their closure packages. You can repeat it. For a clearing verdict, pass the one package it was read from.
  • --previous: checks the link to the previous version of a closure or revision of a receipt.
  • --operator-keys and --require-operator-signature: check operator countersignatures.
  • --trace <trace.json>: supplies an agent trace file. You can repeat it. For a closure package, each trace is rechecked against the declared runs and every usage_cost result is recomputed from the terms' pricing. For a receipt or closure, each recorded usage summary is recomputed from its trace. Usage whose trace you did not supply is reported as NOT INSPECTED, which is neither a pass nor a failure.
  • --at <ISO-8601 time>: checks a receipt's expires_at against that time instead of now, for example the time you received it.
  • --json: prints the report as JSON.

Exit codes

  • 0: valid.
  • 1: invalid.
  • 2: usage or input error.
  • 3: unsupported schema version, so upgrade atcn-verify.

Supported subledger schema versions are 1.2 to 1.5; see compatibility.

A valid signature shows who stated something and that it hasn't changed since. It doesn't prove the work or payment really happened; each claim carries a label saying who stands behind it.

Part of ATCN. Apache-2.0.