$ npm install c8
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 uses
bleeding edge Node.js features,
make sure you're running Node.js >= 10.10.0
.
© 2010 - cnpmjs.org x YWFE | Home | YWFE