Skip to content

stryker-mutator/stryker-js

Folders and files

NameName
Last commit message
Last commit date
Sep 27, 2024
Feb 19, 2024
Nov 7, 2023
Sep 29, 2024
Mar 27, 2025
Mar 18, 2023
Mar 27, 2025
Mar 18, 2025
Dec 30, 2024
Jun 10, 2020
May 13, 2020
Jul 29, 2024
Nov 26, 2020
Oct 14, 2023
Dec 11, 2024
Nov 6, 2019
Oct 30, 2022
Aug 2, 2017
Mar 19, 2021
Mar 19, 2021
Sep 27, 2024
Dec 11, 2024
Mar 27, 2025
Mar 27, 2025
May 13, 2023
Dec 29, 2016
May 31, 2023
Jan 29, 2024
Jul 29, 2024
Jul 29, 2024
Mar 14, 2025

Repository files navigation

Mutation testing badge Build Status NPM Node version Slack Chat

Stryker

StrykerJS

Professor X: For someone who hates mutants... you certainly keep some strange company. William Stryker: Oh, they serve their purpose... as long as they can be controlled.

Welcome to StrykerJS's monorepo. This is where all official stryker packages are maintained. If you're new to monorepos: don't be scared. You'll find the packages in the packages folder.

If you're interested in why we chose a monorepo, please read babeljs's design document about monorepos. We use it for the same reasons as they do.

Introduction

For an introduction to mutation testing and Stryker's features, see stryker-mutator.io.

Getting started

Please follow the quickstart on the website.

For small js projects, you can try the following command:

npm install --save-dev @stryker-mutator/core
# Only for small projects:
npx stryker run

It will run stryker with default values:

  • Uses npm test as your test command
  • Searches for files to mutate in the lib and src directories

Usage

$ npx stryker <command> [options] [configFile]

See usage on stryker-mutator.io

Supported mutators

See our website for the list of currently supported mutators.

Configuration

See configuration on stryker-mutator.io.