json2lcov

The report data of a json-cov format are changed into a lcov format

json2lcov

The report data of a json-cov format are changed into a lcov format.
A conversion result is string.

npm install json2lcov --save-dev
var jsoncovToLcov = require('json2lcov');
var lcov = jsoncovToLcov(jsonCovResult);

console.log(lcov);
npm install -g mocha mocha-lcov-reporter jscoverage
npm install
npm test