{"_id":"@bizantine/istanbul-lib-coverage","name":"@bizantine/istanbul-lib-coverage","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@bizantine/istanbul-lib-coverage","version":"0.0.1","description":"Data library for istanbul coverage objects for bizantine","author":{"name":"Wangxinkai","email":"zippowangxinkai@gmail.com"},"main":"index.js","devDependencies":{"chai":"^4.2.0","mocha":"^6.2.2","nyc":"^15.0.0-beta.2"},"karmaDeps":{"browserify-istanbul":"^0.2.1","karma":"^0.13.10","karma-browserify":"^4.2.1","karma-chrome-launcher":"^0.2.0","karma-coverage":"^0.4.2","karma-mocha":"^0.2.0","karma-phantomjs-launcher":"^0.2.0","phantomjs":"^1.9.17"},"repository":{"type":"git","url":"git+ssh://git@github.com/istanbuljs/istanbuljs.git","directory":"packages/istanbul-lib-coverage"},"keywords":["istanbul","coverage","data"],"license":"BSD-3-Clause","bugs":{"url":"https://github.com/istanbuljs/istanbuljs/issues"},"homepage":"https://istanbul.js.org/","engines":{"node":">=8"},"scripts":{"test":"nyc mocha"},"_id":"@bizantine/istanbul-lib-coverage@0.0.1","_integrity":"sha512-SNyxDncbBr6ztK6Xy1XcaTwmHs7o5psTHP+7eh32rwn00n+RwN8GyPAUe4+u5QaQ6RqD6R4Fzz7TRRC5BsuaqQ==","_resolved":"/private/var/folders/q9/qjjnkjx138l_sbmkrnfpb7l80000gq/T/3f07584679d76837c156653a68d713d2/bizantine-istanbul-lib-coverage-0.0.1.tgz","_from":"file:bizantine-istanbul-lib-coverage-0.0.1.tgz","_nodeVersion":"16.13.1","_npmVersion":"9.1.2","dist":{"integrity":"sha512-SNyxDncbBr6ztK6Xy1XcaTwmHs7o5psTHP+7eh32rwn00n+RwN8GyPAUe4+u5QaQ6RqD6R4Fzz7TRRC5BsuaqQ==","shasum":"75dee47716f11567e9f2ab2115d64af3cac8b8cb","tarball":"https://registry.npmjs.org/@bizantine/istanbul-lib-coverage/-/istanbul-lib-coverage-0.0.1.tgz","fileCount":9,"unpackedSize":24610,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSU+qZtRulY5qvhRK7vOYUXUcpg0VFhMTY+IJMU99u3wIhAJhP57AF5DzD+/B4U/4jE6ZxaitiUCKyQfZkZ23MQhHS"}]},"_npmUser":{"name":"xinkai.wang","email":"zippowangxinkai@gmail.com"},"directories":{},"maintainers":[{"name":"xinkai.wang","email":"zippowangxinkai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istanbul-lib-coverage_0.0.1_1692099075384_0.4143818503990071"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-15T11:31:15.246Z","0.0.1":"2023-08-15T11:31:15.553Z","modified":"2023-08-15T11:31:15.791Z"},"maintainers":[{"name":"xinkai.wang","email":"zippowangxinkai@gmail.com"}],"description":"Data library for istanbul coverage objects for bizantine","homepage":"https://istanbul.js.org/","keywords":["istanbul","coverage","data"],"repository":{"type":"git","url":"git+ssh://git@github.com/istanbuljs/istanbuljs.git","directory":"packages/istanbul-lib-coverage"},"author":{"name":"Wangxinkai","email":"zippowangxinkai@gmail.com"},"bugs":{"url":"https://github.com/istanbuljs/istanbuljs/issues"},"license":"BSD-3-Clause","readme":"## istanbul-lib-coverage\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/istanbuljs/istanbul-lib-coverage.svg)](https://greenkeeper.io/)\n[![Build Status](https://travis-ci.org/istanbuljs/istanbul-lib-coverage.svg?branch=master)](https://travis-ci.org/istanbuljs/istanbul-lib-coverage)\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\nvar libCoverage = require('istanbul-lib-coverage');\nvar map = libCoverage.createCoverageMap(globalCoverageVar);\nvar 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\nmap.files().forEach(function(f) {\n    var fc = map.fileCoverageFor(f),\n        s = fc.toSummary();\n    summary.merge(s);\n});\n\nconsole.log('Global summary', summary);\n```\n","readmeFilename":"README.md"}