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

mergewhy-collector

v1.1.0

Published

MergeWhy Collector — Change evidence collection for CI pipelines and regulated environments. Score PRs, detect compliance gaps, and push signed attestations.

Downloads

19

Readme

mergewhy-collector

Change evidence collection for CI pipelines. Score pull requests, detect compliance gaps, evaluate framework controls, and push signed attestations to MergeWhy.

Quick Start

npx mergewhy-collector report --ci github-actions

Usage

Auto-detect CI environment

The collector reads environment variables from your CI provider automatically:

# GitHub Actions
mergewhy-collector report --ci github-actions

# GitLab CI
mergewhy-collector report --ci gitlab-ci

# Jenkins
mergewhy-collector report --ci jenkins

# CircleCI
mergewhy-collector report --ci circleci

# Azure Pipelines
mergewhy-collector report --ci azure-pipelines

Explicit arguments

mergewhy-collector report \
  --repo owner/repo \
  --pr 123 \
  --commit abc123 \
  --branch main \
  --author username \
  --description "Add payment API" \
  --ticket PROJ-1234 \
  --reviews 2 \
  --approvals 1 \
  --ci-status pass \
  --tests-passed 142 \
  --tests-failed 0 \
  --coverage 87 \
  --framework soc2

Minimum score threshold

Fail the CI step if evidence score is below a threshold:

mergewhy-collector report --ci github-actions --min-score 60

Exit code 0 = pass, exit code 1 = fail.

CI Integration Examples

GitHub Actions

- name: MergeWhy Evidence Report
  run: npx mergewhy-collector report --ci github-actions
  env:
    MERGEWHY_API_KEY: ${{ secrets.MERGEWHY_API_KEY }}
    COLLECTOR_SIGNING_KEY: ${{ secrets.MERGEWHY_SIGNING_KEY }}

Jenkins

stage('Evidence Report') {
  sh 'npx mergewhy-collector report --ci jenkins --framework soc2'
}

CircleCI

- run:
    name: MergeWhy Evidence
    command: npx mergewhy-collector report --ci circleci

Azure Pipelines

- script: npx mergewhy-collector report --ci azure-pipelines
  displayName: MergeWhy Evidence

Push to MergeWhy API

Set these environment variables to push signed attestations:

| Variable | Description | |----------|-------------| | MERGEWHY_API_KEY | Your MergeWhy API key | | MERGEWHY_API_URL | API URL (default: https://mergewhy.com) | | COLLECTOR_SIGNING_KEY | Ed25519 private key (base64) |

Generate a signing keypair:

npx mergewhy-collector keygen

Daemon Mode

Run as a continuous agent (Docker/Kubernetes) to monitor repositories:

# Poll every 5 minutes
COLLECTOR_POLL_INTERVAL=300 mergewhy-collector

# Single pass
mergewhy-collector --once

# Scan recent PRs
mergewhy-collector --scan

See COLLECTOR.md for full documentation.

Supported Frameworks

SOC 2, SOX ITGC, SOX 404, HIPAA, ISO 27001, NIST 800-53, CMMC (L1/L2/L3), FedRAMP, DORA, GDPR, PCI DSS.

License

Apache-2.0