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

stryker-gha-ci-report

v1.0.0

Published

Convert Stryker mutation testing JSON reports to GitHub Actions summary markdown

Readme

stryker-gha-ci-report

Convert Stryker mutation testing JSON reports into markdown summaries for GitHub Actions job summaries.

Features

  • Overall mutation score with threshold indicator (passing / warning / failing)
  • Per-file mutation scores
  • Mutant status counts (Killed, Survived, No Coverage, Timeout)
  • Optional collapsible list of survived mutants with file, location, and mutator
  • Recommendations section ranking top 5 files by survived mutant count

Installation

npm install stryker-gha-ci-report

Requires Node.js >= 20.

CLI Usage

npx stryker-gha-ci-report [--survived-mutants] <path-to-mutation.json>

Options

| Flag | Description | | --- | --- | | --survived-mutants | Include a collapsible section listing each survived mutant |

GitHub Actions Example

- name: Run Stryker
  run: npx stryker run

- name: Report
  if: always()
  run: npx stryker-gha-ci-report reports/mutation/mutation.json >> $GITHUB_STEP_SUMMARY

Vitest Runner

When using @stryker-mutator/vitest-runner, set the Vitest reporters to "agent" in your Stryker config to prevent Vitest's own output from being appended to $GITHUB_STEP_SUMMARY:

{
  "vitest": {
    "configFile": "vitest.config.ts",
    "reporters": ["agent"]
  }
}

Library Usage

import { convertToMarkdown } from "stryker-gha-ci-report";
import { readFileSync } from "fs";

const report = JSON.parse(readFileSync("reports/mutation/mutation.json", "utf-8"));
const markdown = convertToMarkdown(report, { survivedMutants: true });
console.log(markdown);

API

convertToMarkdown(report, options?)

| Parameter | Type | Description | | --- | --- | --- | | report | StrykerReport | Parsed Stryker JSON report | | options.survivedMutants | boolean | Include survived mutants detail section (default: false) |

Returns a markdown string.

Exported Types

StrykerReport, ConvertOptions, FileResult, Mutant, MutantStatus, MutantLocation

Threshold Indicator

The summary header includes a threshold indicator based on the thresholds configured in your Stryker report:

| Condition | Indicator | | --- | --- | | Score >= thresholds.high | passing | | Score >= thresholds.low | warning | | Score < thresholds.low | failing |

Development

npm install
npm run build
npm test
npm run lint

License

MIT