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

@decantr/verifier

v2.2.0

Published

Shared verification, critique, Project Health, and report-schema engine for Decantr

Readme

@decantr/verifier

Support status: core-supported
Release channel: stable

Shared Decantr verification, critique, and report-schema engine used by the CLI, MCP server, and future CI/hosted verification surfaces.

Install

npm install @decantr/verifier

What It Exports

  • auditProject() for project-level Decantr audits
  • auditBuiltDist() for built-output runtime verification against emitted HTML, assets, and route hints
  • critiqueFile() for file-level review against compiled review-pack contracts
  • createContractAssertions() for explicit route, shell, accessibility, context, and design-token assertions derived from Essence/context
  • createEvidenceBundle() for privacy-redacted local evidence artifacts used by AI repair loops and CI
  • schema-backed report types for project audits, Project Health, Evidence Bundles, Workspace Health, file critiques, and showcase verification
  • ProjectHealthReport, ProjectHealthFinding, and ProjectHealthRemediation types for the CLI's end-user health surface
  • interaction findings now include scanned file counts, file line ranges, and expected signal evidence where available, so CLI health/check output can point agents at source-grounded remediation
  • published verifier report schemas are exercised by AJV-backed round-trip tests against real audit, critique, and shortlist-report outputs
  • project audits include runtime evidence when a built dist/ output is present:
    • root document
    • document title
    • document lang and viewport metadata
    • emitted assets
    • route-document coverage
    • built asset byte budgets for JS, CSS, and total payload
    • auth-topology warnings when the essence declares authentication without clear gateway or entry routes

Example

import {
  auditProject,
  createContractAssertions,
  createEvidenceBundle,
  critiqueFile,
  type ProjectHealthReport,
} from '@decantr/verifier';

const audit = await auditProject(process.cwd());
const assertions = createContractAssertions(process.cwd(), audit);
const critique = await critiqueFile('./src/pages/overview.tsx', process.cwd());

function isBlocking(report: ProjectHealthReport) {
  return report.status === 'error';
}

Schema Exports

  • @decantr/verifier/schema/verification-report.common.v1.json
  • @decantr/verifier/schema/project-audit-report.v1.json
  • @decantr/verifier/schema/project-health-report.v1.json
  • @decantr/verifier/schema/evidence-bundle.v1.json
  • @decantr/verifier/schema/workspace-health-report.v1.json
  • @decantr/verifier/schema/file-critique-report.v1.json
  • @decantr/verifier/schema/showcase-shortlist-report.v1.json

Compatibility

@decantr/verifier is stable in the 2.x line for the documented verifier APIs and published report-schema exports.

  • new checks and additive report fields may appear in compatible releases
  • breaking report-shape or exported API changes require a major version
  • hosted and CLI verifier consumers should treat the published schemas as the supported contract surface

License

MIT