JSPM

  • Created
  • Published
  • Downloads 2335081
  • Score
    100M100P100Q195887F
  • License ISC

collect test coverage using v8's inspector

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

Build Status Coverage Status Conventional Commits

Code-coverage using V8's Inspector 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 collect coverage for foo.js using V8's inspector.

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.