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

@fuaran-ui/conformance

v0.5.0

Published

Third-party certification kit for the Fuaran UI wire format — runs any candidate implementation (via a small decode/encode adapter) over the bundled canonical fixture corpus and emits a per-leg pass/fail conformance report naming the corpus version. See C

Readme

@fuaran-ui/conformance

Third-party certification kit for the Fuaran UI wire format: implement the contract, run this, get a report.

The canonical wire format is specified language-neutrally in the Fuaran language repo's docs/WIRE_FORMAT.md, with an executable fixture corpus as the conformance authority. This package bundles a versioned snapshot of that corpus and a runner that drives any candidate implementation over it through a small adapter seam — no access to in-house test suites required.

The full certification procedure (what "conformant" means, mandatory vs optional legs, how to read the report, corpus versioning) lives in CONFORMANCE.md at the repo root. This README is the quick-start.

Quick start

npm install @fuaran-ui/conformance

Write an adapter module plugging in your implementation's codec:

// my-host.adapter.mjs
import { decodeNode, encodeNode, decodeOp, encodeOp } from 'my-host';

export const adapter = {
  // string → { ok: true, value } | { ok: false, error: { code, path, message? } }
  decodeNode,
  // value (from decodeNode) → canonical-JSON string
  encodeNode,
  decodeOp,
  encodeOp,
};

export const implementation = { name: 'my-host', version: '1.2.3' };

Run the kit:

npx fuaran-conformance ./my-host.adapter.mjs --json report.json

or programmatically:

import { runConformance, formatReport } from '@fuaran-ui/conformance';
import { adapter, implementation } from './my-host.adapter.mjs';

const report = runConformance(adapter, { implementation });
console.log(formatReport(report));

Every hook is optional — a decode-only or node-only host certifies the legs it implements and receives an honest partially-conformant verdict with the remaining legs marked skipped, never a blanket fail. CLI exit codes: 0 conformant, 2 partially-conformant, 1 non-conformant.

What gets checked

| Leg | Needs | Assertion | | ----------------------------------------- | ------------------------- | ------------------------------------------------------------------------- | | node-decode / op-decode | decodeNode / decodeOp | every accept fixture decodes without error | | node-byte-identity / op-byte-identity | decode + encode hook | encode(decode(input)) is byte-identical to the canonical form | | node-reject / op-reject | decodeNode / decodeOp | malformed input fails with the canonical error code at the canonical path | | lenient-accept | decode + encode hook | every §16 shorthand decodes and normalises to the verbose canonical bytes | | schema-validation | decode + encode hook | the host's output validates against the canonical Draft 2020-12 schema | | apply | — | reserved; corpus v1 ships no apply fixtures |

Corpus versioning

The corpus snapshot is bundled with the package and versioned with it. Every report names the corpus manifest version and a SHA-256 content digest — certification is per corpus version. The corpus advances with the spec (WIRE_FORMAT.md §11 forward-coupling rule): when a new wire-format case lands, a new kit release ships the regenerated corpus, and hosts re-certify against it. Use --corpus <dir> (or the corpusRoot option) to certify against an external corpus checkout instead of the bundled snapshot.

License

Apache-2.0.