{"name":"@stryker-mutator/api","version":"9.3.0","keywords":["mutation testing","mutation","testing","test","js","stryker"],"license":"Apache-2.0","_id":"@stryker-mutator/api@9.3.0","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":[{"name":"nicojs","email":"jansennico@gmail.com"},{"name":"Alex van Assem","email":"avassem@gmail.com"},{"name":"Jeremy Nagel","email":"jeremy.nagel@learnosity.com"},{"name":"Philipp Weissenbacher","email":"philipp.weissenbacher@gmail.com"},{"name":"Simon de Lang","email":"simondelang@gmail.com"}],"homepage":"https://stryker-mutator.io/","bugs":{"url":"https://github.com/stryker-mutator/stryker-js/issues"},"dist":{"shasum":"e580ec3ac236920368f081e1ccc08a882242efb8","tarball":"http://registry-npm.ywwl.com/@stryker-mutator/api/download/@stryker-mutator/api-9.3.0.tgz","fileCount":220,"integrity":"sha512-X6riRHxJiPC2Pp4uxBkol+9MJpZMmX+OuZEttPEuucbY3JgnEv2zxlQ4TMrUaHPuhbsqoQx+mCEB24UVDJDc8g==","signatures":[{"sig":"MEYCIQC8b2o/CRzv0+HWQr83mff69qUEGprog4jZWaf/ZToINAIhAPTNjlFp50lVM+MjqtJkHOQ9JZyH8I+6kH+SxEJ/8yJc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@stryker-mutator%2fapi@9.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":169683,"size":42202,"noattachment":false,"key":"/@stryker-mutator/api/-/@stryker-mutator/api-9.3.0.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":"dc7f37a4211b7e6eaed77946f90c22b64742853f","scripts":{"test":"c8 npm run test:unit","stryker":"node ../core/bin/stryker.js run","test:unit":"mocha \"dist/test/unit/**/*.js\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dfb779c6-bbc5-410d-9aaf-f8738de2fd50"}},"repository":{"url":"git+https://github.com/stryker-mutator/stryker-js.git","type":"git","directory":"packages/api"},"_npmVersion":"lerna/9.0.0/node@v24.10.0+x64 (linux)","description":"The api for the extendable JavaScript mutation testing framework Stryker","directories":{},"_nodeVersion":"24.10.0","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.18.8"},"_npmOperationalInternal":{"tmp":"tmp/api_9.3.0_1761682854349_0.4247703863380834","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":1761682854575,"_cnpm_publish_time":1761682854575,"dist-tags":{"latest":"10.1.1","next":"6.4.0-beta.3"}}