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

@metasession.co/devaudit-plugin-evidence-export

v0.1.58

Published

Bulk evidence bundle export for DevAudit consumers — for handing evidence to external auditors.

Downloads

7,714

Readme

devaudit-plugin-evidence-export

First-party DevAudit plugin: bulk export of evidence files from the portal into a local directory tree — primarily for handing artefacts to external auditors.

What it adds

Commands

  • devaudit evidence-export list <project-slug> — lists requirements + evidence counts for the project.
  • devaudit evidence-export bundle <project-slug> --output <dir> — downloads every evidence file into <dir>/<requirementId>/<filename> and writes a manifest.json summarising what was bundled. Per-file failures are isolated (the bundle continues) and recorded in the manifest with an error field.

The plugin writes a directory tree, not a .zip. If you want an archive, zip -r bundle.zip <dir> after the bundle completes.

Lifecycle hooks

  • onDoctor — confirms DEVAUDIT_USER_TOKEN is set (or warns if not), so devaudit doctor flags the misconfiguration before someone tries to bundle.

Auth

The plugin reads DEVAUDIT_USER_TOKEN from the environment. It deliberately does not read ~/.config/devaudit/auth.json directly — that file is the CLI's domain. To use this plugin from a fresh shell:

export DEVAUDIT_USER_TOKEN=$(jq -r '.token' ~/.config/devaudit/auth.json)

(Future enhancement: surface a helper from the SDK so plugins don't need to know about auth.json file layout.)

Manifest format (v0)

{
  "project_slug": "wawagardenbar-app",
  "base_url": "https://devaudit.metasession.co",
  "generated_at": "2026-05-19T08:19:00.123Z",
  "total_files": 42,
  "successful": 42,
  "failed": 0,
  "entries": [
    {
      "requirement_id": "REQ-001",
      "file_path": "wawagardenbar-app/REQ-001/2026-05-19_smoke.html",
      "file_name": "2026-05-19_smoke.html",
      "file_size_bytes": 12345,
      "bundled_to": "/tmp/wgb-evidence/REQ-001/2026-05-19_smoke.html"
    }
  ]
}

The schema is informational at v0; expect it to stabilise + version when an auditor consumes it.

Install

devaudit plugin install @metasession.co/devaudit-plugin-evidence-export

Published on npm. The CLI resolves the name against the registry and installs into ~/.config/devaudit/plugins/.

Pre-release / from-source install (against a Git tag or commit) remains available:

devaudit plugin install https://github.com/metasession-dev/DevAudit-Installer.git#plugins/devaudit-plugin-evidence-export

Compatibility

| | | |---|---| | SDK apiVersion | 1 | | Node | >=22 | | Targets | Any DevAudit-onboarded project with evidence in the portal. |

Tests

npm install --legacy-peer-deps   # plugin-sdk must be built first
npm run build
npm test

9 vitest cases use msw to mock the portal:

  • list happy path, missing-slug, missing-token, HTTP 401
  • bundle happy path, partial-failure isolation, missing --output
  • onDoctor token-present + token-missing