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

@czap/audit

v0.3.1

Published

Profile-driven structure/integrity/surface audit engine for czap — packageable, downstream-installable

Downloads

917

Readme

@czap/audit

Runs structure, integrity, and surface checks over @czap/* packages and reports findings as structured data — against the LiteShip monorepo or against the packages installed in your own app.

Install this directly when you want to run the audit passes programmatically. Most projects run it through czap audit from @czap/cli instead, which wraps the same engine in a JSON receipt.

Install

pnpm add -D @czap/audit

No peer dependencies and no other @czap/* dependencies — it works on its own.

30 seconds

import { consumerDevopsProfile, runAuditPasses } from '@czap/audit';

const result = runAuditPasses(consumerDevopsProfile(process.cwd()));

console.log(result.counts); // { error, warning, info }
for (const f of result.findings) {
  console.log(f.severity, f.rule, f.title);
}

In a repo with @czap/* packages installed, this logs the merged counts and one line per finding. consumerDevopsProfile(cwd) audits what is actually installed in node_modules (every czap package publishes src/ alongside dist/, so source-level checks run on shipped artifacts); inside the LiteShip monorepo itself, call runAuditPasses() with no argument to glob packages/* instead.

Rule ids

Every finding carries a rule id — the key you use in a profile's allowlists: console-call, default-export, export-target-missing, fallback-laundering, host-surface, missing-manifest-dependency, missing-manifest-dependency-dynamic, missing-runtime-capability, orphan-export-candidate, package-export-surface, package-topology, placeholder-content, stub-marker, suspicious-reimplementation, symbol-orphan-candidate, unknown-internal-package, unresolved-internal-import, virtual-module-surface.

Where it sits

Standalone — this package depends on no other @czap/* package, only fast-glob and the TypeScript compiler API, so you can install it without the rest of the stack. The czap audit verb in @czap/cli is the only adapter that wires the engine; @czap/command and @czap/mcp-server see a structured summary of the result, never the engine itself. LiteShip's repo-local scoring and report rendering are not in this package — they compose it from the monorepo's scripts. See the package surfaces map for the full layout.

If it does nothing

Consumer discovery walks node_modules; if no @czap/* packages are installed where you ran it, the audit finds zero packages and reports zero findings — a clean result that verified nothing. Before trusting a silent pass, check Object.keys(consumerDevopsProfile(cwd).packageRoots).length is what you expect.

Docs


Part of LiteShip — powered by the CZAP engine (Content-Zoned Adaptive Projection), distributed as @czap/* packages.