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

@ajna-inc/kanon-sdk

v0.1.6

Published

TypeScript SDK for the Kanon AnonCreds VDR on any EVM chain. Mode A (status registry) + Mode B (Groth16 ZK).

Downloads

130

Readme

@ajna-inc/kanon-sdk

TypeScript SDK for the Kanon AnonCreds VDR — a W3C-compliant decentralised identity protocol that runs on any EVM-compatible chain.

If you're building a Credo agent, install @ajna-inc/kanon instead — it depends on this SDK and wires it into Credo for you. The SDK alone is for back-end issuer services, custom verifiers, or low-level contract interactions.

npm install @ajna-inc/kanon-sdk ethers

ethers v6 is a peer dependency. snarkjs and circomlibjs are optional — only required if you use the Mode B (Kanon ZK) prover.

What's in the box

| Subpath | Purpose | |---|---| | @ajna-inc/kanon-sdk | Convenience top-level re-exports (KanonClient, IssuerService, VerifierService, HolderWallet, kanonCredIdHash) | | kanon/core | Types, deployment loader, contract handles, Merkle tree, tier constants | | kanon/issuer | EdDSA-BabyJubjub keys, IssuerService (mint, revoke, batchUpdate) | | kanon/holder | HolderWallet + IHolderStorage + InMemoryHolderStorage | | kanon/verifier | VerifierService (Tier-1 + Tier-2 verification helpers) | | kanon/orchestrator | KanonClient — high-level facade across the seven registries | | kanon/anoncreds | kanonCredIdHash, KANON_CRED_ID_ATTRIBUTE — minimal helpers consumed by the Credo plugin | | kanon/zk | Mode B Groth16 prover — needs snarkjs + circomlibjs |

Mode A vs Mode B

  • Mode A (default). Use the anoncreds subpath plus core ABIs. No SNARK math required. This is what @ajna-inc/kanon (Credo plugin) uses to add on-chain revocation status to standard AnonCreds.
  • Mode B (optional). Use the zk subpath. Generates Groth16 proofs against the Poseidon Merkle tree for unlinkable presentations.

Publish

npm run build     # tsup → dist/{index,core/...,zk/...}.{js,cjs,d.ts}
npm publish --access public

See the Kanon site docs for end-to-end usage with @ajna-inc/kanon.