{"name":"mutation-testing-report-schema","version":"2.0.1","license":"Apache-2.0","_id":"mutation-testing-report-schema@2.0.1","homepage":"https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/elements#readme","bugs":{"url":"https://github.com/stryker-mutator/mutation-testing-elements/issues"},"dist":{"shasum":"2a5dae1e7b26edd70862cb39a1b64d6198e22ef4","tarball":"http://registry-npm.ywwl.com/mutation-testing-report-schema/download/mutation-testing-report-schema-2.0.1.tgz","fileCount":13,"integrity":"sha512-el8j0dzhhxICQZ3vbXGlb9iIDrouOvJo28bKSl3/2sPhpAPZccfvbuwcvlG7+vZv87wJkFaj5zTDQ4TFQoXXNA==","signatures":[{"sig":"MEYCIQDRc0vjXxGF0DNX1nZfiJOHno2+b7DZWbjeAM9fJTOwawIhAILW29FhoA079WMyaZo2u3o7T9ItbABSP8YSVGIc2IpL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55490,"size":12640,"noattachment":false,"key":"/mutation-testing-report-schema/-/mutation-testing-report-schema-2.0.1.tgz"},"main":"dist/src/index.js","exports":{".":"./dist/src/index.js","./api":"./dist/src-generated/schema.js"},"gitHead":"b259a9b385a3faabbfcf278e255db5b7f6c6fca3","scripts":{"test":"mocha --forbid-only --forbid-pending -r source-map-support/register dist/test/**/*.js","generate":"node ../../tasks/schema2ts.js src/mutation-testing-report-schema.json src-generated/schema.ts","postpublish":"PUBLISH_SCHEMA=true ../metrics-scala/npmProjPublish.sh dist/src"},"typings":"dist/src/index.d.ts","_npmUser":{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"},"repository":{"url":"git+https://github.com/stryker-mutator/mutation-testing-elements.git","type":"git","directory":"packages/report-schema"},"_npmVersion":"lerna/6.6.2/node@v18.16.0+x64 (linux)","description":"The json schema for a mutation testing report.","directories":{},"_nodeVersion":"18.16.0","typesVersions":{"*":{"api":["dist/src-generated/schema.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mutation-testing-report-schema_2.0.1_1683817511360_0.9055724044420472","host":"s3://npm-registry-packages"},"readme":"[![Build Status](https://github.com/stryker-mutator/mutation-testing-elements/workflows/CI/badge.svg)](https://github.com/stryker-mutator/mutation-testing-elements/actions?query=workflow%3ACI+branch%3Amaster)\n\n# Mutation testing elements schema\n\nThe json schema for mutation testing elements.\n\nThe schema can be found [here](https://github.com/stryker-mutator/mutation-testing-elements/blob/master/packages/report-schema/src/mutation-testing-report-schema.json).\n\n## JavaScript\n\nInstall it with npm like this:\n\n```sh\n$ npm i mutation-testing-report-schema\n```\n\nUse it from typescript or js (with babel)\n\n```ts\nimport { schema } from 'mutation-testing-elements-schema';\n```\n\nFor example, use [AJV](https://github.com/epoberezkin/ajv#ajv-another-json-schema-validator):\n\n```ts\nconst schemaValidator = new Ajv();\nschemaValidator.addSchema(schema, 'mutation-testing-report-schema');\nschemaValidator.validate('mutation-testing-report-schema', {/*.. report as json ...*/});\n```\n\n## Other languages\n\nDownload the schema using https://www.unpkg.com/mutation-testing-report-schema@VERSION/dist/src/mutation-testing-report-schema.json\n\nFor the current version, see package.json.\n","publish_time":1683817511517,"maintainers":[{"name":"nicojs","email":"jansennico@gmail.com"},{"name":"strykermutator-npa","email":"strykermutator.npa@gmail.com"}],"_cnpm_publish_time":1683817511517,"dist-tags":{"latest":"3.9.0"}}