{"name":"@stryker-mutator/api","version":"9.1.1","keywords":["mutation testing","mutation","testing","test","js","stryker"],"license":"Apache-2.0","_id":"@stryker-mutator/api@9.1.1","maintainers":[{"name":"nicojs","email":"jansennico@gmail.com"},{"name":"archcry","email":"hello@sanderkoenders.nl"},{"name":"simondel","email":"simondelang@gmail.com"},{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"}],"contributors":["nicojs <jansennico@gmail.com>","Alex van Assem <avassem@gmail.com>","Jeremy Nagel <jeremy.nagel@learnosity.com>","Philipp Weissenbacher <philipp.weissenbacher@gmail.com>","Simon de Lang <simondelang@gmail.com>"],"homepage":"https://stryker-mutator.io/","bugs":{"url":"https://github.com/stryker-mutator/stryker-js/issues"},"dist":{"shasum":"84f4e86fb82f29bfc5d20e78dd444d1ed2cd8900","tarball":"http://registry-npm.ywwl.com/@stryker-mutator/api/download/@stryker-mutator/api-9.1.1.tgz","fileCount":220,"integrity":"sha512-rcN3GDz8MusRVdyRA4n3Z90/aVb3xbhaBK0hIcD+d62o6U47l/grGFA3bLAVM++cyCAoRYu6UkaUxu3BeOZnOg==","signatures":[{"sig":"MEUCIHEIRCzMA5GG91GYmPDEtC/I+pZ7LVaizr1livyZtr72AiEAr8IigOvzfWHFB2kljKGMEQ/tRnPkFbjlun5lWQVDD4o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@stryker-mutator%2fapi@9.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":169683,"size":42201,"noattachment":false,"key":"/@stryker-mutator/api/-/@stryker-mutator/api-9.1.1.tgz"},"type":"module","engines":{"node":">=20.0.0"},"exports":{"./core":"./dist/src/core/index.js","./check":"./dist/src/check/index.js","./ignore":"./dist/src/ignore/index.js","./plugin":"./dist/src/plugin/index.js","./report":"./dist/src/report/index.js","./logging":"./dist/src/logging/index.js","./test-runner":"./dist/src/test-runner/index.js"},"gitHead":"dc8060f925190ccfef708cd6d2089dcba7ee3196","scripts":{"test":"c8 npm run test:unit","stryker":"node ../core/bin/stryker.js run","test:unit":"mocha \"dist/test/unit/**/*.js\""},"_npmUser":{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"},"repository":{"url":"https://github.com/stryker-mutator/stryker-js.git","type":"git","directory":"packages/api"},"_npmVersion":"lerna/8.2.3/node@v20.19.4+x64 (linux)","description":"The api for the extendable JavaScript mutation testing framework Stryker","directories":{},"_nodeVersion":"20.19.4","dependencies":{"tslib":"~2.8.0","typed-inject":"~5.0.0","mutation-testing-metrics":"3.5.1","mutation-testing-report-schema":"3.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"22.16.4"},"_npmOperationalInternal":{"tmp":"tmp/api_9.1.1_1756563514050_0.9855731953395594","host":"s3://npm-registry-packages-npm-production"},"readme":"[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker-js%2Fmaster%3Fmodule%3Dapi)](https://dashboard.stryker-mutator.io/reports/github.com/stryker-mutator/stryker-js/master?module=api)\n[![Build Status](https://github.com/stryker-mutator/stryker-js/workflows/CI/badge.svg)](https://github.com/stryker-mutator/stryker-js/actions?query=workflow%3ACI+branch%3Amaster)\n[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)\n\n![Stryker](https://github.com/stryker-mutator/stryker-js/raw/master/stryker-80x80.png)\n\n# StrykerJS API\n\nThis is the repository for maintaining the API of the [StrykerJS](https://stryker-mutator.io/) mutation testing framework.\nPlugin creators should depend on this API rather than on the main Stryker repository directly.\n\n# Extension use cases\n\nYou can extend Stryker in a number of ways.\n\n1. Create your own `Mutator`\n2. Create a custom `Reporter`\n3. Create a `TestFramework` for a test framework\n4. Create a `TestRunner` to bridge the gap between your test runner and Stryker\n5. Create a custom way of configuring Stryker by creating an `OptionsEditor`\n\nAll extension points work in the same basic way.\n\n1. Create a `constructor function` (or `class`)\n2. Register the `constructor function` to the correct `Factory`.\n\nFor more info, please take a look at the [Stryker website section on plugins](https://stryker-mutator.io/docs/stryker-js/plugins).\n","publish_time":1756563514263,"_cnpm_publish_time":1756563514263,"dist-tags":{"latest":"10.1.1","next":"6.4.0-beta.3"}}