{"name":"istanbul-lib-coverage","version":"1.2.1","description":"Data library for istanbul coverage objects","author":{"name":"Krishnan Anantheswaran","email":"kananthmail-github@yahoo.com"},"main":"index.js","scripts":{"pretest":"jshint index.js lib/ test/","test":"mocha"},"devDependencies":{"chai":"^3.0.0","jshint":"^2.8.0","mocha":"^3.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","_id":"istanbul-lib-coverage@1.2.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"coreyfarrell","email":"git@cfware.com"},"dist":{"integrity":"sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ==","shasum":"ccf7edcd0a0bb9b8f729feeb0930470f9af664f0","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-1.2.1.tgz","fileCount":7,"unpackedSize":21843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkFiJCRA9TVsSAnZWagAAejkQAIoJIKMlnnggdYh/hgDm\nTGdT8JLj7bpr6hIr+tzDCrKHhY6eQvIKZuwykWtejx7oBx+jV9BPnJZdtsZy\nPhQAv6InsZ1W3DEq6iQrdEnEM9oXCggj9RGw54+IPz3eeVmn4ikZim4vagJP\nJY583PvdJ+Yc1j9zX8OwpZk//piX23LE2Nb+U5pSDgENO4iVk4+4+kEgtB/H\naAfrYc1Z6HPpDIyr5rc6Co9/eLW2dZsyWvzQ+Raryr7unEpVa4jZK9HO0TBD\nsCLBzB5MBQ21uMU8fBvGsSXX1xQCJ0cyLfS1Ei4FMB1fWl2df4e3P+fzDV70\nP5D/RdhXrrM6DMp9aXUciV3X1iHSqo/Wh/9azvR0ET1XJCHct+hRFvL6zW8w\nesMdOhjlqry+yKpnAgghxkDSy3UphrLo4n7RLu+7TPvhCzbQ4akjXiLpkERs\ny+Yj6xKmTO3ClULCHhtKeJ2QphF/OOzfTHyw8q0LDcfSU8jE1oNnDQ2jA9zJ\nchGb69YORGfNkIsjfWPIMKjT9sJZuu3nnDlh6qnxoHh7c6FhyomrBjk2vmBJ\nEt9r3NQ4QfRFfnP3V8DFGWDbaY3/UIusarzoPC564By6p/ODrVq+/g1m7pzq\n8W8te/SlQsfRrn7YgEojGUaP6tAhTBw5OgKcqCbOdV4f2Iea/rvOaq63OGhv\nCVN9\r\n=yhvw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBohhD7v7enfDhd9/rTsU2ApcvE5RrY4T+L0OYNhs18RAiEA+YCe55ESes1E7VaZeIg2NKeU/3rT7UfDWOufYoNrPYY="}],"size":6518,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz"},"maintainers":[{"email":"ben@npmjs.com","name":"bcoe"},{"email":"git@cfware.com","name":"coreyfarrell"},{"email":"kananthmail-github@yahoo.com","name":"gotwarlost"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istanbul-lib-coverage_1.2.1_1536186504721_0.4740742607637287"},"_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":1536186504933,"_cnpm_publish_time":1536186504933,"dist-tags":{"latest":"3.2.2"}}