{"name":"istanbul-lib-coverage","version":"2.0.3","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://github.com/istanbuljs/istanbuljs","engines":{"node":">=6"},"gitHead":"7875defdc3c3640787ac5d83700246de119e8b83","_id":"istanbul-lib-coverage@2.0.3","_nodeVersion":"10.14.2","_npmVersion":"lerna/3.10.5/node@v10.14.2+x64 (linux)","dist":{"integrity":"sha512-dKWuzRGCs4G+67VfW9pBFFz2Jpi4vSp/k7zBcJ888ofV5Mi1g5CUML5GvMvV6u9Cjybftu+E8Cgp+k0dI1E5lw==","shasum":"0b891e5ad42312c2b9488554f603795f9a2211ba","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-2.0.3.tgz","fileCount":7,"unpackedSize":22685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcS8iQCRA9TVsSAnZWagAAwW0P+wRGQyKmSB7hQECntErV\n/2hJtZHbgxJgxDKaK9Zo/yZOGlawsF1eDIoUfQAQNjgV8dKtufCFdIRPATih\noJW69rDGeIWu4BxjOQBUso1l1Xde12Hj8NBp6u+Q/3bLktTk+zyuQOxV5wu5\nuQXBjRfyOFObTU3rN68J3EQn4YXGJUX0PexMvMYLYoKTJ5fhOI5IoiJrAoEU\nnV6xs5NPp7uEpjaDkyqQzjNhqmufu1VIWmwCerTvn4b/xTe9grln5zmmPeiq\nK1vIx2vhtkGzWQEsk4mQgJdtH0y4RsQPhXPDm7LXuv6YrwlCQGNxczaNQ5eY\nq00GTMhdlQ0FSFSls4SiUDhFubUVb3vo9HVK4XIXgrOdzwPB4kAYMpolIgOT\n5UYraVr8+QMRxQKHL12rBAPz41SCc9pMZXxnc5JaPNJO+tlC5GvEbGoNZzjA\nDhJBb88g3CEBAV5ZwSWApY9gIBmijTzw6Ae/2mbYvLvdJqFwWTAIZwH42cRB\nQWeQfvR20ijfVWn64ODcdQ/3OFXHdB8/UZr5Rxe4lk/SRzMEZDlAa4gLVJK8\n8a64pcoXwrba6tFYJzCgp8egJQkFNv3RKWoMASnbqlWG+Z5W5+rERfWYPmiP\no0J4oWTNurcBH0Kmu+xY+9JPnSxM1rw1W+hspQHRlayxAyffF+Ng1oBVwWQo\n1IKg\r\n=uejN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE7P6wIHWvew3K/RGo+NlLYN+SH8AX1E16/fQOis0/GrAiEA6aXCV0DRsEQk7okONAWHVF50Q7ktAoQFInYzejVtc/Q="}],"size":6527,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.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.3_1548470414656_0.9945214635152335"},"_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":1548470415587,"_cnpm_publish_time":1548470415587,"dist-tags":{"latest":"3.2.2"}}