{"name":"istanbul-lib-coverage","version":"1.0.0-alpha.3","description":"Data library for istanbul coverage objects","author":{"name":"Krishnan Anantheswaran","email":"kananthmail-github@yahoo.com"},"main":"index.js","scripts":{"fast":"mocha test/","pretest":"jshint index.js lib/ test/","test":"istanbul cover -x 'docs/**' --include-all-sources --print=both _mocha --  test/","posttest":"istanbul check-coverage --statements 95 --branches 80"},"devDependencies":{"chai":"^3.0.0","coveralls":"^2.11.4","istanbul":"^0.4.0","jshint":"^2.8.0","mocha":"^2.2.5"},"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/istanbul-lib-coverage.git"},"keywords":["istanbul","coverage","data"],"license":"BSD-3-Clause","bugs":{"url":"https://github.com/istanbuljs/istanbul-lib-coverage/issues"},"homepage":"https://github.com/istanbuljs/istanbul-lib-coverage","gitHead":"5e871f8b4ba3a3fc65c6d8ba7c1d87f5d087ccc9","_id":"istanbul-lib-coverage@1.0.0-alpha.3","_shasum":"8f810f636eb8cb11ec1ff636a807a4980e28a2ef","_from":".","_npmVersion":"2.12.0","_nodeVersion":"0.10.26","_npmUser":{"name":"gotwarlost","email":"kananthmail-github@yahoo.com"},"maintainers":[{"name":"gotwarlost","email":"kananthmail-github@yahoo.com"}],"dist":{"shasum":"8f810f636eb8cb11ec1ff636a807a4980e28a2ef","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-1.0.0-alpha.3.tgz","integrity":"sha512-Dw3hCxyDQYXuBHQG46+sJJFJjq/vYMQJ1f792wwW0vWWU3Ye1AnOffy/hCGPBulNKMSpsjrl574XEkKtihXVsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxLq7AsgVxXfBzDmGRZM95UiOjFppMBBMV+vmYA3TI/AiEA5SbaXXorw/O8Nq6V1pW3Mvx28kL0pkgZTGzcI9NlNjE="}],"size":19196,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.0-alpha.3.tgz"},"directories":{},"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":1448582379557,"_cnpm_publish_time":1448582379557,"dist-tags":{"latest":"3.2.2"}}