Simple command line utility for turning code coverage reports into a number
npm install coverage-percentagecoverage-percentage
===================


Tiny utility for turning a coverage report in various formats into a numerical percentage. Built for use with https://www.github.com/ppvg/node-coverage-badge.
``jsoncoverage-percentage ./coverage/lcov.info --lcov
"scripts": {
"test": "istanbul test _mocha --report lcov -- -R spec",
"badge": "coverage-badge badge.png"`
}
Then simply:
```
npm test --coverage
npm run-script badge