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

rubric-notary

v0.1.0

Published

Prove a record existed, unaltered, at a point in time. Anchored to public consensus, verifiable by anyone, free to verify forever.

Downloads

185

Readme

rubric-notary

Prove a record existed, unaltered, at a point in time. Anchored to public consensus. Free to verify, forever, by anyone.

import { notarize, verify } from "rubric-notary";

const proof = await notarize(myRecord, { apiKey });   // keep this proof file
// ... later, in a dispute ...
const result = await verify(proof, myRecord);
// result.valid === true  ->  this exact record existed by result.anchoredAt

What this proves, and what it does not

Proves: a record with this exact content existed no later than the anchored timestamp, and has not been altered since. Anyone can check this without Rubric's cooperation or yours.

Does not prove: that the record is true, that the event it describes happened, or that you are who you say. Notarizing a false record produces a timestamped false record. This is a notary, not an auditor.

How verification works

The chain stores a cryptographic commitment, never your record. Verification has two independent halves:

Offline - your record is hashed and compared to the hash in your proof file. No network, no permission.

Online - the attestation is checked against Hedera consensus, confirming when it was anchored.

Both passing means the record you hold is the record that was notarized, at that time. Keep the proof file with the record; Rubric cannot reconstruct either one for you.

Immediately after notarizing, verify returns pending: the record is signed but not yet flushed to the chain. It anchors within about a minute.

Paying

With a Rubric API key, notarize anchors immediately. Without one it returns an x402 payment challenge: sign it with any wallet, call again with the payment, no account required. Half a cent per record.

Verification is always free and never requires credentials. A proof only the issuer can check is not a proof.

CLI

npx rubric-notary hash record.json
npx rubric-notary sign record.json --label consent --out proof.json
npx rubric-notary verify proof.json record.json

Exit codes: 3 payment required, 4 record does not match, 5 attestation not found.

Canonicalization

Two parties must produce identical bytes for the same logical record or verification is meaningless. The rule is fixed and reimplementable: recursive key sort, JSON.stringify with no whitespace, JavaScript number formatting, then SHA3-256, hex, lowercase.

Rejected rather than silently coerced: undefined, functions, symbols, bigint, non-finite numbers, circular references. Note that 1 and 1.0 collapse, as they do in JSON.

canonicalize and hashRecord are exported so you can check this yourself.

License

MIT (c) Echelon Intelligence Group LLC