{"name":"istanbul-lib-coverage","version":"3.0.2","description":"Data library for istanbul coverage objects","author":{"name":"Krishnan Anantheswaran","email":"kananthmail-github@yahoo.com"},"main":"index.js","scripts":{"test":"nyc mocha"},"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"},"_id":"istanbul-lib-coverage@3.0.2","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-o5+eTUYzCJ11/+JhW5/FUCdfsdoYVdQ/8I/OveE2XsjehYn5DdeSnNQAbjYaO8gQ6hvGTN6GM6ddQqpTVG5j8g==","shasum":"36786d4d82aad2ea5911007e255e2da6b5f80d86","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-3.0.2.tgz","fileCount":10,"unpackedSize":27344,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC/bo71FcXSVeRy1JJu3thW5DC+3YcOCwLh0E5LsCkmQIhAPcj4nzzEZ5SYxxRWK8zLqeC7rI7ohI+5qwxDrgwPSK7"}],"size":7671,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.2.tgz"},"_npmUser":{"name":"oss-bot","email":"bencoe+oss-bot@gmail.com"},"directories":{},"maintainers":[{"name":"gotwarlost","email":"kananthmail-github@yahoo.com"},{"name":"bcoe","email":"bencoe@gmail.com"},{"name":"coreyfarrell","email":"git@cfware.com"},{"name":"oss-bot","email":"bencoe+oss-bot@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istanbul-lib-coverage_3.0.2_1633992857805_0.7779500432593511"},"_hasShrinkwrap":false,"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","publish_time":1633992857962,"_cnpm_publish_time":1633992857962,"dist-tags":{"latest":"3.2.2"}}