{"name":"istanbul-lib-coverage","version":"2.0.4","description":"Data library for istanbul coverage objects","author":{"name":"Krishnan Anantheswaran","email":"kananthmail-github@yahoo.com"},"main":"index.js","scripts":{"test":"mocha"},"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"},"keywords":["istanbul","coverage","data"],"license":"BSD-3-Clause","bugs":{"url":"https://github.com/istanbuljs/istanbuljs/issues"},"homepage":"https://istanbul.js.org/","engines":{"node":">=6"},"gitHead":"c81b051d83217947dfd97d8d06532bd5013e98c3","_id":"istanbul-lib-coverage@2.0.4","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.0/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-LXTBICkMARVgo579kWDm8SqfB6nvSDKNqIOBEjmJRnL04JvoMHCYGWaMddQnseJYtkEuEvO/sIcOxPLk9gERug==","shasum":"927a354005d99dd43a24607bb8b33fd4e9aca1ad","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-2.0.4.tgz","fileCount":7,"unpackedSize":22492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchwfrCRA9TVsSAnZWagAABfQQAIoEWa0PpRv003hogoHU\n9nEgdZDryOE7696GxmR/bwtlat98vaAhv5FgT7uR6a4hfKEtQ3e1bnozd93N\ntI50kDpxA4eYf2/G55RcITG27v82xvKQBp1drnGURMwNecABkd5PKNlPrJfR\nptfFF18WR3lpLaPHB010bE7MltdRsGA9zrUnLRId75dJCd74ypl8G1LEjqSi\nWCvYDbl3cV6dM2kHLNT0K2JV5KPT6HoFkY1S0fSJErCUU0aFmRvTs7yeEo1R\n0QT325FQDu3IB+1BV5IpahckcZJriY0vsitZIFrzoXQFrdtjTuZpp0x5zh3k\n4p4Pn0dJjUE7Du7TLTiqQ9pUKPWPmXvcVZg5/WRQedIinlx7/7/SOS+ZTYxK\nntDRruENWyMea40F3V/Q9oS7SFXL88krAHh9hZwe+qxGC4YxEIKn10QLElJQ\nvP2cf7rtfawJswx8MSid1+6/ceVwOFppydT+JwO6aDF/agyZjyuttUgKzxI2\nKjfDZefJOUhwbdXyVwiQ8tmrdLjlkN+G1gq1cEMVXWERrmlWShr7CKWdQne9\na5gZLFdiNiHByaay01tLyLX5tW2GpQEV13/SVW5+kcaUL8nefOvX+16l91E2\nYxDS2+4nyjDOKlB4uhly/mJ907qK3QynKUwxgq2pB1JVTC5JqJflkpEc810p\nl5lR\r\n=tBP0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGr3pcY+mvpl8UI5WapPuYEf4ZKLDFT1r/pkq8a9TU0AIgMTjS9qYzF85iTHh6xZqCu70/k4uoY6g+7A+gL11/fZE="}],"size":6503,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz"},"maintainers":[{"email":"ben@npmjs.com","name":"bcoe"},{"email":"git@cfware.com","name":"coreyfarrell"},{"email":"kananthmail-github@yahoo.com","name":"gotwarlost"}],"_npmUser":{"name":"coreyfarrell","email":"git@cfware.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istanbul-lib-coverage_2.0.4_1552353258474_0.45758133091216036"},"_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":1552353258666,"_cnpm_publish_time":1552353258666,"dist-tags":{"latest":"3.2.2"}}