Package Exports
- c8/bin/c8.js
- c8/lib/report
- c8/lib/report.js
- c8/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (c8) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
c8 - native V8 code-coverage
Code-coverage using Node.js' build in functionality that's compatible with Istanbul's reporters.
Like nyc, c8 just magically works:
npm i c8 -g
c8 node foo.js
The above example will output coverage metrics for foo.js
.
c8 report
run c8 report
to regenerate reports after c8
has already been run.
Disclaimer
c8 uses
bleeding edge Node.js features,
make sure you're running Node.js >= 10.10.0
.