{"name":"istanbul-lib-coverage","version":"2.0.1","description":"Data library for istanbul coverage objects","author":{"name":"Krishnan Anantheswaran","email":"kananthmail-github@yahoo.com"},"main":"index.js","files":["lib","index.js"],"scripts":{"pretest":"jshint index.js lib/ test/","test":"mocha"},"devDependencies":{"chai":"^4.1.2","jshint":"^2.9.5","mocha":"^5.2.0"},"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://github.com/istanbuljs/istanbuljs","engines":{"node":">=6"},"_id":"istanbul-lib-coverage@2.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.2.1","_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"dist":{"integrity":"sha512-nPvSZsVlbG9aLhZYaC3Oi1gT/tpyo3Yt5fNyf6NmcKIayz4VV/txxJFFKAK/gU4dcNn8ehsanBbVHVl0+amOLA==","shasum":"2aee0e073ad8c5f6a0b00e0dfbf52b4667472eda","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-2.0.1.tgz","fileCount":7,"unpackedSize":22238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQQ2zCRA9TVsSAnZWagAAJr4P/j1gsgBJA6JMwoyS4uQY\nweElVY26pbofiZeUrJnDlElNydJJtHsOLFGtTIpLeNr4mKSocJFpeOgNXE/v\n3hl7+BNaBAsuxbpDVmGK5MWiNfyNLXm3SpK6/0vHabqjT0B3/LJubVeLqI0X\nlnqXngUKwQk+FmXmMjZAhwoEfbZRnCoP6VHKWQG92jWRszJTKRfaQpS4U+Zt\nUxNdh8/DvPaGKxDqzCjsz+cEsVrQGRynJlJkO70q1MvqklCZ/A+3638jSaP9\n4Z/fcvWhLMhrDTe+WUblnd8IzKncw8rgtSL7cioiepnbFB8jQQOCtIc3zFLz\naBcJqsEhK7wur3o7zuQxADPJ+21MYOn+YdA6uoEjBK6JGGLoruyaRk9A3QJj\neolGYTwfVP78cK/qk/X57uZ3X2GJKuYuqteBfb9lauZ/kAnU2apoYPZ42ZfZ\nnFRf5Qc6pyIPUznIIWVcNRFEOitsTsbfWT8wSoPJ33Yj/aIMvOM0aN1RXwue\nw+5itLvpwyIdZ45IB6UzYD0QuQn7kiQexIvelhaM4vjVsx3Wp9svU2H4Pxed\ngiswlHaC24COgcfDHhkHF3vPitVvL2LqJi824IZO7MEuDWpiUHw+ZLcHWLcL\nAUZDFNElinc0GUfDVVdkktmYuIEW2Gn3tpmSOVPANcEzeS2iTVMcAyD5N0kx\n+aF8\r\n=RnrI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHggWc6rWKxgpshUvwJDhOOA/dvBT7LYT7rcrJRFaqz1AiAxTHFXBxmf8ka9f8X+ApBtQ5IBz62wVqh6g8pADAvFjw=="}],"size":6499,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz"},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"},{"name":"gotwarlost","email":"kananthmail-github@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istanbul-lib-coverage_2.0.1_1530990003756_0.7448326320615257"},"_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":1530990003827,"_cnpm_publish_time":1530990003827,"dist-tags":{"latest":"3.2.2"}}