json2lcov

1.0.0 • Public • Published

json2lcov

NPM version Build Status Coverage Status Dependency Status Stories in Ready

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

/json2lcov/

    Package Sidebar

    Install

    npm i json2lcov

    Weekly Downloads

    27

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • holyshared