{"_id":"@vitest/istanbul-lib-coverage","_rev":"6-70dabbebe612d26b03ccce26d28c2a65","name":"@vitest/istanbul-lib-coverage","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"@vitest/istanbul-lib-coverage","version":"0.0.1","keywords":["coverage","data","istanbul","vitest"],"author":"Vitest Team","license":"MIT","_id":"@vitest/istanbul-lib-coverage@0.0.1","maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"homepage":"https://vitest.dev/","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"ff37d8b037b0977ec7c4f30bfbcac833da03165f","tarball":"https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-0.0.1.tgz","fileCount":5,"integrity":"sha512-EOaUG3c0Js9WYHb7ukf0a6bP9S7+0xupx0vjbPUdBGGp5MZqe6Sdi0FUFsr8dpnJvTcGnUCb/1iWH8m0h3WUDg==","signatures":[{"sig":"MEYCIQCtevvUBJRw9ToqvLSfmncmy7K+b2raSXC35omsd5b+jAIhANFwkTf6DjzbhFe/bG6g/pwRG64RzhPbWeNNhfrv/tLu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21958},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":"./dist/index.mjs","scripts":{"test":"pnpm --filter @vitest/istanbuljs-monorepo run test --project @vitest/istanbul-lib-coverage","build":"tsdown"},"_npmUser":{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},"repository":{"url":"git+ssh://git@github.com/vitest-dev/istanbuljs.git","type":"git","directory":"packages/istanbul-lib-coverage"},"description":"Data library for istanbul coverage objects","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14"},"_npmOperationalInternal":{"tmp":"tmp/istanbul-lib-coverage_0.0.1_1787572772577_0.3892269186213879","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@vitest/istanbul-lib-coverage","version":"0.0.2","keywords":["coverage","data","istanbul","vitest"],"author":"Vitest Team","license":"MIT","_id":"@vitest/istanbul-lib-coverage@0.0.2","maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"homepage":"https://vitest.dev/","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"21d38ab6d463235259b1181936c9974cf972d3f3","tarball":"https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-0.0.2.tgz","fileCount":5,"integrity":"sha512-luHuCtjQv1YyeVZFPZVxzEZ09pt5N4h5D9olmtp3tXGW7/mOHPJBHba4dRIDz7ZCsw5RxFvjV1imXFt0WdTu2A==","signatures":[{"sig":"MEUCIQD/PK/uWhYyi+wgUCJmX+/p0tH4W/PpXpS/AqZsvPATpgIgU/K6CExZtnJ00ti9fzMK9L3Q7kh8Jxbf4r+m/EZGApc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fistanbul-lib-coverage@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22031},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":"./dist/index.mjs","scripts":{"test":"pnpm --filter @vitest/istanbuljs-monorepo run test --project @vitest/istanbul-lib-coverage","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3547c909-be4a-46cd-8420-9f8c595e390a"}},"repository":{"url":"git+ssh://git@github.com/vitest-dev/istanbuljs.git","type":"git","directory":"packages/istanbul-lib-coverage"},"description":"Data library for istanbul coverage objects","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14"},"_npmOperationalInternal":{"tmp":"tmp/istanbul-lib-coverage_0.0.2_1787573903550_0.2781504684448066","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@vitest/istanbul-lib-coverage","version":"0.0.3","keywords":["coverage","data","istanbul","vitest"],"author":"Vitest Team","license":"MIT","_id":"@vitest/istanbul-lib-coverage@0.0.3","maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"homepage":"https://vitest.dev/","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"bec2661a9e6480bb682591502143655741ca7f87","tarball":"https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-0.0.3.tgz","fileCount":5,"integrity":"sha512-3DW/oAoDU31Yr/axz2nGwLVzQhVaC+bIiiMFLM364zZJrpZB2BX6QC92UIof98NQt9uMVuXAaCi8IlPXnfsAJw==","signatures":[{"sig":"MEUCIQDb7GwdglDT9tFgKhnui2BBDg3hxgwxPkdfpmV5Ln4gMgIgbz8mgYKSTQy9g0JOG+uSGDhuebZV/JA1A/kRM2eqnas=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fistanbul-lib-coverage@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22029},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":"./dist/index.mjs","scripts":{"test":"pnpm --filter @vitest/istanbuljs-monorepo run test --project @vitest/istanbul-lib-coverage","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3547c909-be4a-46cd-8420-9f8c595e390a"}},"repository":{"url":"git+https://github.com/vitest-dev/istanbuljs.git","type":"git","directory":"packages/istanbul-lib-coverage"},"description":"Data library for istanbul coverage objects","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14"},"_npmOperationalInternal":{"tmp":"tmp/istanbul-lib-coverage_0.0.3_1787576005440_0.23022342394495388","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@vitest/istanbul-lib-coverage","version":"0.0.4","keywords":["coverage","data","istanbul","vitest"],"author":"Vitest Team","license":"MIT","_id":"@vitest/istanbul-lib-coverage@0.0.4","maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"homepage":"https://vitest.dev/","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"62c781e4e11653ca963ed16ab726beea38070cfb","tarball":"https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-0.0.4.tgz","fileCount":5,"integrity":"sha512-YwdKQGnKLoog7FTKSFZ/DusaAdi79W0dHtfNilTyWw4tlDb0P+FHxffmAoy3pSxWIK32SAioOakkVHs/qfbCtw==","signatures":[{"sig":"MEYCIQCrnSZ2KlsGk4+RCrVP4o62gbQu0xkHe4QwlAztOYyoBAIhAKfZANR8lhM/3MIxbSNEjctqhRslqdCtVSt4OVv8+Sq8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fistanbul-lib-coverage@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22734},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":"./dist/index.mjs","scripts":{"test":"pnpm --filter @vitest/istanbuljs-monorepo run test --project @vitest/istanbul-lib-coverage","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3547c909-be4a-46cd-8420-9f8c595e390a"}},"repository":{"url":"git+https://github.com/vitest-dev/istanbuljs.git","type":"git","directory":"packages/istanbul-lib-coverage"},"description":"Data library for istanbul coverage objects","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14"},"_npmOperationalInternal":{"tmp":"tmp/istanbul-lib-coverage_0.0.4_1787652958678_0.2984200139985571","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@vitest/istanbul-lib-coverage","version":"1.0.0","keywords":["coverage","data","istanbul","vitest"],"author":"Vitest Team","license":"MIT","_id":"@vitest/istanbul-lib-coverage@1.0.0","maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"homepage":"https://vitest.dev/","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"9c860975133bff56deea04d09bd173beae095aae","tarball":"https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.0.tgz","fileCount":5,"integrity":"sha512-BScRXlnT3d8tN39mDZuZgS6OmczgyLNO55FGka+CO0LO5458m7hBnEvDm/Dc12f07R4ChdDst66YfKtCr2T8mg==","signatures":[{"sig":"MEQCICgE+51Pi88r/CUKHuheTdGvuB24njK8ygcuoLx+4VoOAiAjbbo+jD/0waZv1eheQNvWagYJL+FcIKK8NolbjIJ6Zw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fistanbul-lib-coverage@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22734},"type":"module","types":"./dist/index.d.mts","engines":{"node":">=22"},"exports":"./dist/index.mjs","scripts":{"test":"pnpm --filter @vitest/istanbuljs-monorepo run test --project @vitest/istanbul-lib-coverage","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3547c909-be4a-46cd-8420-9f8c595e390a"}},"repository":{"url":"git+https://github.com/vitest-dev/istanbuljs.git","type":"git","directory":"packages/istanbul-lib-coverage"},"description":"Data library for istanbul coverage objects","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14"},"_npmOperationalInternal":{"tmp":"tmp/istanbul-lib-coverage_1.0.0_1787657222018_0.9771233013383103","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@vitest/istanbul-lib-coverage","version":"1.0.1","description":"Data library for istanbul coverage objects","keywords":["coverage","data","istanbul","vitest"],"homepage":"https://vitest.dev/","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"license":"MIT","author":"Vitest Team","repository":{"type":"git","url":"git+https://github.com/vitest-dev/istanbuljs.git","directory":"packages/istanbul-lib-coverage"},"type":"module","sideEffects":false,"types":"./dist/index.d.mts","exports":"./dist/index.mjs","publishConfig":{"access":"public"},"devDependencies":{"tsdown":"^0.22.14"},"engines":{"node":">=22"},"scripts":{"build":"tsdown","test":"pnpm --filter @vitest/istanbuljs-monorepo run test --project @vitest/istanbul-lib-coverage"},"_nodeVersion":"22.23.2","_id":"@vitest/istanbul-lib-coverage@1.0.1","dist":{"integrity":"sha512-k3DJZ8LhMBK9NS4SclF1ASD3OgXEWDorbIcPTRDK0/Zae6fRvu+fJRxtFdLfHsa9Y24beCdPnoNZ4LviTNstfA==","shasum":"8bcff8c5cb100037cd341def96c5c9b857acbc1f","tarball":"https://registry.npmjs.org/@vitest/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.1.tgz","fileCount":5,"unpackedSize":23226,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fistanbul-lib-coverage@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA3FQ0Ec4AExkPJW+p3e19o3lYb7uqE3NoSeXIDTWGPHAiBEX+2mEJ236zRYRb+TywVxeR0xiV04dOAdWujDWLihyQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3547c909-be4a-46cd-8420-9f8c595e390a"}},"directories":{},"maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/istanbul-lib-coverage_1.0.1_1788176161461_0.27077074173530025"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-24T11:59:32.427Z","modified":"2026-08-31T11:36:01.954Z","0.0.1":"2026-08-24T11:59:32.721Z","0.0.2":"2026-08-24T12:18:23.716Z","0.0.3":"2026-08-24T12:53:25.585Z","0.0.4":"2026-08-25T10:15:58.810Z","1.0.0":"2026-08-25T11:27:02.150Z","1.0.1":"2026-08-31T11:36:01.586Z"},"bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"author":"Vitest Team","license":"MIT","homepage":"https://vitest.dev/","keywords":["coverage","data","istanbul","vitest"],"repository":{"type":"git","url":"git+https://github.com/vitest-dev/istanbuljs.git","directory":"packages/istanbul-lib-coverage"},"description":"Data library for istanbul coverage objects","maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"readme":"# @vitest/istanbul-lib-coverage\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/vitest-dev/istanbuljs/ci.yml?label=CI&logo=GitHub)](https://github.com/vitest-dev/istanbuljs/actions/workflows/ci.yml)\n\nAn API that provides a read-only view of coverage information with the ability\nto merge and summarize coverage info.\n\nSupersedes `object-utils` and `collector` from the v0 istanbul API.\n\nSee the docs for the full API.\n\n```js\nimport * as libCoverage from \"@vitest/istanbul-lib-coverage\";\n\nconst map = libCoverage.createCoverageMap(globalCoverageVar);\nconst summary = libCoverage.createCoverageSummary();\n\n// merge another coverage map into the one we created\nmap.merge(otherCoverageMap);\n\n// inspect and summarize all file coverage objects in the map\nfor (const f of map.files()) {\n  const fc = map.fileCoverageFor(f);\n  summary.merge(fc.toSummary());\n}\n\nconsole.log(\"Global summary\", summary);\n```\n","readmeFilename":""}