3.2.2 • Published 6 months ago
istanbul-lib-coverage v3.2.2
istanbul-lib-coverage
An API that provides a read-only view of coverage information with the ability to merge and summarize coverage info.
Supersedes object-utils
and collector
from the v0 istanbul API.
See the docs for the full API.
var libCoverage = require('istanbul-lib-coverage');
var map = libCoverage.createCoverageMap(globalCoverageVar);
var summary = libCoverage.createCoverageSummary();
// merge another coverage map into the one we created
map.merge(otherCoverageMap);
// inspect and summarize all file coverage objects in the map
map.files().forEach(function(f) {
var fc = map.fileCoverageFor(f),
s = fc.toSummary();
summary.merge(s);
});
console.log('Global summary', summary);
3.2.2
6 months ago
3.2.1
6 months ago
3.2.0
3 years ago
3.1.0
3 years ago
3.0.2
3 years ago
3.0.1
3 years ago
3.0.0
4 years ago
3.0.0-alpha.2
4 years ago
3.0.0-alpha.1
5 years ago
3.0.0-alpha.0
5 years ago
2.0.5
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
1.2.1
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.2.0
6 years ago
1.1.2
6 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
8 years ago
1.0.0-alpha.4
8 years ago
1.0.0-alpha.3
8 years ago
1.0.0-alpha.2
8 years ago
1.0.0-alpha.1
8 years ago
1.0.0-alpha.0
8 years ago