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

@aikdna/kdna-conformance

v0.2.0

Published

KDNA conformance suite: fixtures, runner, and hostile cases for third-party implementations to prove the current asset-first KDNA contract.

Readme

@aikdna/kdna-conformance

KDNA conformance suite: fixtures, runner, and hostile cases for third-party implementations to prove the current asset-first KDNA contract.

Status: the published npm incumbent is 0.1.0. This source tree is the 0.2.0 line, a source candidate that adds the byte-level interop vectors and is not yet published to npm.

What conformance means

  • .kdna packaged bytes are the Runtime asset object;
  • kdna.json uses format_version: "0.1.0";
  • payload.kdnab is strict CBOR with an explicit payload profile version;
  • validation verifies format, schema, payload, checksums, and load contract;
  • LoadPlan gates every Runtime projection;
  • authorized loading emits kdna.runtime-capsule with contract_version: "0.1.0";
  • a corrupted container fails closed.

Conformance proves the contract. It does not certify that an asset's judgment is correct.

Run against the reference implementation

npm install @aikdna/kdna-conformance
npx kdna-conformance

Run against your own implementation

A third-party implementer points the runner at a module exposing the same surface as @aikdna/kdna-core (validate, planLoad, load):

npx kdna-conformance --impl ./my-kdna-core.js

The runner produces a pass/fail report:

KDNA conformance report — implementation: ./my-kdna-core.js
  passed: 4
  failed: 0
  PASS: container: valid asset passes validation
  PASS: loadplan: valid asset can load now
  PASS: runtime: load emits a runtime capsule
  PASS: hostile: corrupted container fails closed

Fixtures

fixtures/valid-asset.kdna is a valid public judgment asset. The hostile cases corrupt the container and assert fail-closed behavior.

Byte-level interop vectors

vectors/ packages the canonical byte-level interop vectors so a second implementation can verify interoperability with this artifact plus the RFCs, without cloning any repository:

| Set | Contract | |-----|----------| | vectors/signature/vectors.json | kdsig.ed25519 asset signatures (RFC-0021 M1) | | vectors/envelope-aead/ | password-envelope AEAD vectors (scrypt, Argon2id) | | vectors/authorization/ | authorization LoadPlan cases with fixtures and expected goldens (RFC-0014) |

vectors/manifest.json binds every vector file by exact byte count and sha256, and names the vector set version. To verify interop: parse each vector with your implementation, reproduce the expected outputs recorded in the vector files, and confirm your results hash-match the manifest. Vector content is generated only by the canonical generators in the KDNA Core repository and is copied here byte-identically; a CI test proves the packaged bytes never drift from the canonical tree.

The RFCs live at https://github.com/aikdna/kdna/tree/main/rfcs. Report your claim in the public format from CONFORMANCE.md: command, implementation version, spec version, run summary, known deviations.

License

Apache-2.0