json2lcov

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

npm install json2lcov
1 downloads in the last week
5 downloads in the last month

json2lcov

Build Status Coverage Status

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

Install

npm install json2lcov --save-dev

How to use

var jsoncovToLcov = require('json2lcov');
var lcov = jsoncovToLcov(jsonCovResult);

console.log(lcov);

UnitTest

npm install -g mocha mocha-lcov-reporter jscoverage
npm install
npm test
npm loves you