{"name":"istanbul-lib-coverage","version":"3.2.0","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.2.0","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==","shasum":"189e7909d0a39fa5a3dfad5b03f71947770191d3","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-3.2.0.tgz","fileCount":10,"unpackedSize":29344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2wJACRA9TVsSAnZWagAAn0MQAKR7+lLL90dT3x1l9t68\n7UnfowGKuGOQnXPVq47CZ8b6pyRMLBUunymXQCUizSpHEIEEzQOQKX0Gi79T\njhpghiFv2DBfoWcn8yozj/cAB3Vnbqlo9euT9yNNwDRv1IFWc/6goqbusWvf\naoGPa22UkiMu3mw8ZJmHw5OGlBx0EHqj2uKJWE/iy35pmP6nIkZ8Kt4lgdN3\ncYBncqzmkoTBH+yBewGd3kWFPrcnWN13hMij5UO1QpvNjstKDnglOOZs2RH1\nsBlmRKh7lgzJf/s8XIwrlFotnQtYnASfpFPBXRsuTqUQXa12QtimU9EVPAVo\nOlu/phc4ioM0Sln7oQI1heuJOyZWboiujg80Z/RoBPjhFq/q1+Ki9uuDoFZi\nVDMFZDiaL2b28m1YNx9DHRrg9PBG6tju/KlyC0WcU0SVC3DWMtQ8cutzD+Id\nNznzfuhlYQaY1FI0D4CV2Rpf+ldtTxLYxERV+YzJ25Hevu6Wx2821WUzu4Tz\nquEgnjXh0zmYl4p51qCFNgNcZubgT5WcIuinPFlFRrLs/aQOz9Cp2Ozc+EvZ\nCXfk+VpwU1TtZ3711iVPl9668Iy4LM8S+C0UrA8zbXV0P8LToqWN6wnqxUNH\ndbf96bA9NpEAFvGzKQMpJr9qsHO4TCkxYggOWtwKbOQ44JYXukhdqUVmoVRa\nv//r\r\n=5bxS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICAgt92l8dP1Tgn40FyIOI+O02gXoI+fOYRQ5aD10XKpAiEAhy6NRh7kw0J5JqlZ3xp8eTbWYAt6WM+w2SvjQ7hH1Zw="}],"size":8072,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.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.2.0_1634527174899_0.39927894813536713"},"_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":1634527175047,"_cnpm_publish_time":1634527175047,"dist-tags":{"latest":"3.2.2"}}