Combine coverages into one coverage.
Install it with npm:
$ npm install coverage-render
var coverages = ; coverages.push(cov1); coverages.push(cov2); // ... var render = require('coverage-render'); var html = render(coverages); process.stdout.write(html);
var render = require('coverage-render');
Render the array of coverage object into html.
Combine the array of coverage object into one object.