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

@desenlabs/conformance

v1.0.0-beta.2

Published

Executable conformance suite for the DESEN Protocol. Walks MANIFEST.yaml and dispatches every normative fixture against your implementation under test. Ships a programmatic runner and a `desen-conformance` CLI.

Downloads

82

Readme

@desenlabs/conformance — DESEN Conformance Suite (Beta)

This package is the beta companion to SPEC.md 1.0.0-RC1. It contains fixtures that any conforming DESEN Runtime, DSL Producer, or Governance Core should pass. The suite is non-normative: failing a fixture does not in itself violate the spec, but fixtures in this directory are designed to catch concrete, implementer-blocking misreadings of the spec.

The final 1.0.0 release will ship a stable version of this suite with versioned fixtures, a signed manifest, and a reference test harness. This beta exists so that RC1 implementers can self-check without waiting.

Install

npm install --save-dev @desenlabs/conformance
# or
pnpm add -D @desenlabs/conformance

Directory layout

packages/conformance/
├── README.md                  ← this file
├── HARNESS.md                 ← runner internals + dispatcher contract
├── MANIFEST.yaml              ← machine-readable list of all fixtures
├── KNOWN_FAILURES.json        ← xfail registry (every entry must link a tracking issue)
├── run.mjs                    ← `desen-conformance` CLI + `runConformance({ bucket })` API
├── validation/                ← DSL schema conformance (§2)
│   ├── positive/              ← documents that MUST validate
│   └── negative/              ← documents that MUST NOT validate
├── runtime/                   ← fail-closed behavior (§3)
├── telemetry/                 ← envelopes and payloads (§4)
└── governance/                ← classifier, matrix, audit (§5)

Each fixture directory has its own short README that explains the bucket and lists what a correct implementation should do.

How to use this suite

You have three paths:

  1. CLI. Once the package is installed, run npx desen-conformance (or desen-conformance --bucket=runtime for one bucket). The CLI exits non-zero on the first real divergence from the SPEC.
  2. Programmatic API.
    import { runConformance } from "@desenlabs/conformance";
    const result = await runConformance({ bucket: "validation" });
    //  → { suite_id, suite_version, passed, failed, xfailed, unexpectedPassed, elapsed_ms }
    This is what alternate Runtime / Producer / Governance Core implementations should call from their own test runners.
  3. Manual walk-through. Read each subdirectory's README, run its fixtures through your implementation, compare with the expected outcomes. This forces a slow read of each §.

Scope

The suite deliberately does not test:

  • Specific visual rendering (CSS, layout engines). DESEN is modality-agnostic.
  • Network or transport protocols between Runtime and data sources.
  • The physical storage of audit logs or telemetry streams.

It does test:

  • That every schema in §2 accepts positive fixtures and rejects negative fixtures with the correct failure mode.
  • That a Runtime emits the right telemetry envelopes in the right sequence for known interactions.
  • That the risk classifier (§5.2.1) returns exactly the expected R-Level for every diff pair.
  • That the Authority × Risk matrix (§5.3) gates correctly.
  • That audit chains verify, and that broken chains are detectable.
  • That guardrails (§3.4) fail-closed with the correct error_class.

Reporting a fixture bug

If a fixture seems incorrect, open an issue against the spec repository with:

  • The fixture path.
  • The spec paragraph you believe it misreads.
  • Your expected outcome and the suite's current expected outcome.

We would rather fix a fixture than accept a silent spec drift.

Stability

  • Beta fixtures MAY change between RC1 and 1.0.0.
  • At 1.0.0 the suite freezes. Post-1.0.0 changes follow the spec's SemVer rules (SPEC §7.2): additive in minor, breaking only in major.