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

@axiorank/log-watchdog

v0.1.0

Published

Independently monitor an AxioRank audit transparency log for equivocation, rollback, or gaps. Pins each verified signed tree head and alerts on any inconsistency. Zero runtime dependencies beyond the offline verifier.

Readme

@axiorank/log-watchdog

Independently monitor an AxioRank audit transparency log. The watchdog polls the public checkpoint endpoints, verifies each signed tree head and the chain between them against a key you pinned out of band, pins the latest verified head locally, and alerts on any inconsistency. It trusts the pinned key, never the server it is auditing.

This is the "do not trust us, verify" half of AxioRank's verifiable audit: customers (and anyone else) can continuously check that the vendor's own log was never forked or rewritten.

What it detects

  • rollback: the head's sequence went backward.
  • equivocation: a sequence you already saw now presents a different root or signature (a split view).
  • inconsistency: a gap, a broken chain link, or an invalid signed-tree-head signature.
  • missing witnesses: the head lacks the independent co-signatures you require.

Exit codes: 0 verified and pinned, 1 tamper evidence, 2 a transient network or HTTP problem (nothing pinned).

Setup

  1. Enable public monitoring for your workspace (Settings, Security, Public log monitoring) and copy the log id.

  2. Pin the JWKS once, out of band:

    curl -s https://app.axiorank.com/api/v1/audit/public-key > jwks.json

CLI

npx @axiorank/log-watchdog \
  --base-url https://app.axiorank.com \
  --log-id <your-log-id> \
  --jwks ./jwks.json \
  --state ./head.json \
  --once

Run it on a schedule (cron, a CI job, or --interval <seconds> to loop). Keep head.json between runs so a rollback is detectable. Add --webhook <url> to POST findings, and --require-witnesses <n> --witness-keys ./witnesses.json to require independent co-signatures.

GitHub Action

- uses: axiorank/log-watchdog@v0
  with:
    log-id: ${{ vars.AXIORANK_LOG_ID }}
    jwks: ./jwks.json

The action caches the pinned head across runs, opens an issue on tamper evidence, and fails the job.

Programmatic

import { runWatchdog, loadState, saveState } from "@axiorank/log-watchdog";

const state = loadState("./head.json");
const result = await runWatchdog({ baseUrl, logId, jwks, state });
if (!result.ok) console.error(result.findings);
else if (result.head) saveState("./head.json", { logId, baseUrl, head: result.head });

Verification is implemented in the zero-dependency @axiorank/audit-verify package.

License

MIT