{"name":"istanbul-lib-coverage","version":"2.0.5","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":"90e60cc47833bb780680f916488ca24f0be36ca2","_id":"istanbul-lib-coverage@2.0.5","_nodeVersion":"12.0.0","_npmVersion":"lerna/3.13.3/node@v12.0.0+x64 (linux)","dist":{"integrity":"sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==","shasum":"675f0ab69503fad4b1d849f736baaca803344f49","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-2.0.5.tgz","fileCount":7,"unpackedSize":22673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwMq7CRA9TVsSAnZWagAAxokP/jApkCIsTUYEs90ClcJ9\nc20hMTsNEysOJ5lJlNTXffPzkL4dNRUvgZK5lAy516pYFFP1QYgtBGyPMuew\nY1ANjROVBQvHCHFdnoSN21sATyspeYJZF+fhPKUt1z4P/PqEFs05rOxrkbvk\nDJG1z1aZIgypdgWYQGkuW4u1kEzAwUqfMe4InQZu02sfqPo32e0zSBxXDunP\nU7TlXvbU28kJS0OyyMuPlphyUDDgFearZVtmxLFHNK87DFGb7jQhFINXl2xp\ncDPD5C3M0mf3/nx3WyBOARgohBFqFP3xNe87Zly3mDxhfCy40meIdDlsoQ+z\nIqtsGhuXLfXxRFpluqvYJIWUDsVrp7zRY1fNSpcQJlalF5qh4twkI9vVpa/Y\ng3+xJU6peBIozaOdzMZ38zaZjpHSEbabPu0eXIFpnxz+3mQ3WX8VK21OqkuZ\nvVN5s7Vu0jGfXXRI3thGneRcrJqPf+k/PFZ15nNB2UDOmYpjquNx8ERbBQy6\nQCrn5CbRIvfrpiT6l0/zJ2s6UoLVsVxru+niukDXdtsJ/dQoVuggLhi9os3L\nJo6Pz5GPR8ftYN+wohXw9OgI12QBXiYxD0xm9GnABdvsO95EV0f5N09vLQ4i\nCo2FvcSxjWXe6bMpLU4tAtcYGw8mx4adiGMmOIyG5fWo8UFxr9YWNleL/+J9\nhcm1\r\n=8H4N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMnJocrVOMfKflcZBkyMySpsa8YjQGTONqMvyPPcdeBQIhAIE+ZC19D6TDm3w0gKVnEZqHjXKMXoXv2MA1mH9aNg7b"}],"size":6520,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.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.5_1556138682964_0.3841440213018934"},"_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":1556138683080,"_cnpm_publish_time":1556138683080,"dist-tags":{"latest":"3.2.2"}}