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

@undisk-mcp/audit-verifier

v0.54.1

Published

Standalone audit chain verifier for Undisk MCP — verify hash-chain integrity of audit exports offline

Downloads

1,190

Readme

@undisk-mcp/audit-verifier

Standalone hash-chain verifier for Undisk MCP audit trails. Supports v1/v2/v3 hash formulas. Zero dependencies for offline compliance verification.

Installation

npm install @undisk-mcp/audit-verifier

CLI Usage

# Verify an exported audit trail
npx @undisk-mcp/audit-verifier export.ndjson

# Machine-readable output for CI pipelines
npx @undisk-mcp/audit-verifier export.ndjson --ci

# Output result as JSON
npx @undisk-mcp/audit-verifier export.ndjson --json

# Generate a self-contained HTML report
npx @undisk-mcp/audit-verifier export.ndjson --report audit-report.html

# Show audit summary statistics
npx @undisk-mcp/audit-verifier export.ndjson --summary

# Verbose per-entry progress
npx @undisk-mcp/audit-verifier export.ndjson --verbose

# Combine flags
npx @undisk-mcp/audit-verifier export.ndjson --ci --report audit-report.html

Options

| Flag | Description | |------|-------------| | --ci | Machine-readable output. Exit 0 if valid, exit 1 if broken. Minimal stdout. | | --json | Output the full verification result as JSON to stdout. | | --report <path> | Generate a self-contained HTML report at the given path. | | --summary | Show a summary table (entry count, time range, agents, operations). | | --verbose, -v | Show per-entry verification progress. | | -h, --help | Show help message. |

Exit Codes

| Code | Meaning | |------|---------| | 0 | Chain is valid (or no entries) | | 1 | Chain is broken or an error occurred |

CI Integration

The --ci flag is designed for use in automated pipelines. It produces minimal output and relies on exit codes for pass/fail signaling.

GitHub Actions

- name: Verify audit trail
  run: npx @undisk-mcp/audit-verifier audit-export.ndjson --ci --report audit-report.html

- name: Upload report
  uses: actions/upload-artifact@v4
  with:
    name: audit-report
    path: audit-report.html

Programmatic Usage

import {
  parseAuditExport,
  verifyAuditChain,
  summarizeAudit,
  generateHtmlReport,
} from "@undisk-mcp/audit-verifier";

const content = fs.readFileSync("export.ndjson", "utf-8");
const entries = parseAuditExport(content);
const result = await verifyAuditChain(entries);

if (result.valid) {
  console.log(`Verified ${result.checked} entries`);
} else {
  console.error(`Chain broken at seq ${result.brokenAt}: ${result.error}`);
}

// Generate summary statistics
const summary = summarizeAudit(entries);
console.log(`${summary.totalEntries} entries, ${summary.uniqueAgents.length} agents`);

// Generate HTML report
const html = generateHtmlReport(entries, result);
fs.writeFileSync("report.html", html);

Documentation

See mcp.undisk.app for full documentation.

License

MIT