{"name":"istanbul-lib-coverage","version":"1.1.0","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":"^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/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","_id":"istanbul-lib-coverage@1.1.0","_shasum":"caca19decaef3525b5d6331d701f3f3b7ad48528","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.1.0","_npmUser":{"name":"bcoe","email":"ben@npmjs.com"},"dist":{"shasum":"caca19decaef3525b5d6331d701f3f3b7ad48528","tarball":"http://registry-npm.ywwl.com/istanbul-lib-coverage/download/istanbul-lib-coverage-1.1.0.tgz","integrity":"sha512-qZEghZnC9qGKAu1NDqYs2wWt05FLeJMOTlRZ3QrmNITfyp0FIy/TbFdmPk1qUYXhGSsygqntsWQVLo5IabhNyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYd/V7SGD1TvO/dUhzl1ipocW5SlO7q77HTQeKkHj2pAiA84+DgFdzBfM2yCylT6EQc4uxoQ64gkqjbDkVbEkppSQ=="}],"size":6191,"noattachment":false,"key":"/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.0.tgz"},"maintainers":[{"name":"bcoe","email":"ben@npmjs.com"},{"name":"gotwarlost","email":"kananthmail-github@yahoo.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/istanbul-lib-coverage-1.1.0.tgz_1493442004461_0.4158393524121493"},"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":1493442005081,"_cnpm_publish_time":1493442005081,"dist-tags":{"latest":"3.2.2"}}