{"_id":"v8-coverage","_rev":"2770867","name":"v8-coverage","description":"Use native v8 inspector to generate coverage reports","dist-tags":{"latest":"1.0.9"},"maintainers":[{"name":"npm:eywek","email":""}],"time":{"modified":"2022-05-23T09:39:11.000Z","created":"2018-05-24T08:43:07.068Z","1.0.9":"2019-04-30T11:40:53.441Z","1.0.8":"2018-11-05T10:16:10.572Z","1.0.7":"2018-10-17T21:57:15.709Z","1.0.6":"2018-05-31T15:22:53.578Z","1.0.5":"2018-05-30T14:24:11.928Z","1.0.4":"2018-05-24T15:29:06.363Z","1.0.3":"2018-05-24T09:48:53.211Z","1.0.0":"2018-05-24T08:43:07.068Z"},"users":{},"author":{"name":"Eywek","email":"contact@eywek.fr"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"versions":{"1.0.9":{"name":"v8-coverage","version":"1.0.9","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^5.2.2","uuid":"^3.3.2","v8-to-istanbul":"1.2.0","yargs":"^11.0.0"},"gitHead":"d15c57da74f79e2d627a7cbed28bcd5d007ed3c5","_id":"v8-coverage@1.0.9","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"shasum":"780889680c0fea0f587adf22e2b5f443b9434745","size":16752,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.9.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.9_1556624453273_0.7101228936647426"},"_hasShrinkwrap":false,"publish_time":1556624453441,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1556624453441,"_cnpmcore_publish_time":"2021-12-17T01:06:44.664Z"},"1.0.8":{"name":"v8-coverage","version":"1.0.8","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","node-uuid":"^1.4.8","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^4.2.1","v8-to-istanbul":"1.2.0","yargs":"^11.0.0"},"gitHead":"3ea12216e28e40c5cf062bbc20762d31beec0b1c","_id":"v8-coverage@1.0.8","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"dist":{"shasum":"3393cb904cd064e2e56e747781641c75a6e7f52c","size":19918,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.8.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.8_1541412970415_0.37316947441217274"},"_hasShrinkwrap":false,"publish_time":1541412970572,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1541412970572,"_cnpmcore_publish_time":"2021-12-17T01:06:45.018Z"},"1.0.7":{"name":"v8-coverage","version":"1.0.7","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","node-uuid":"^1.4.8","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^4.2.1","v8-to-istanbul":"^1.2.0","yargs":"^11.0.0"},"gitHead":"7cf3724a22b33170763823cd929ed2cad50919af","_id":"v8-coverage@1.0.7","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"dist":{"shasum":"f005d81ee44ad14ae1ab901f093e49ff331f6c49","size":16459,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.7.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.7_1539813435556_0.22007285925728381"},"_hasShrinkwrap":false,"publish_time":1539813435709,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1539813435709,"_cnpmcore_publish_time":"2021-12-17T01:06:45.216Z"},"1.0.6":{"name":"v8-coverage","version":"1.0.6","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","node-uuid":"^1.4.8","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^4.2.1","v8-to-istanbul":"^1.2.0","yargs":"^11.0.0"},"gitHead":"1cd025aee3538dc2d75d311008c0dbfa9dd5a258","_id":"v8-coverage@1.0.6","_npmVersion":"6.1.0","_nodeVersion":"9.10.1","_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"dist":{"shasum":"a276c6b250c8b5fb28604c56602ec2ca92ba78d9","size":16385,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.6.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.6_1527780173453_0.3975795897860974"},"_hasShrinkwrap":false,"publish_time":1527780173578,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1527780173578,"_cnpmcore_publish_time":"2021-12-17T01:06:45.426Z"},"1.0.5":{"name":"v8-coverage","version":"1.0.5","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^4.2.1","v8-to-istanbul":"^1.2.0","yargs":"^11.0.0"},"gitHead":"cfdd0eae2b1247dc9f7a19cd49f2cd7173241e3a","_id":"v8-coverage@1.0.5","_npmVersion":"6.1.0","_nodeVersion":"9.10.1","_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"dist":{"shasum":"df68278c1bde7c503d4ac3db88a7d1aea779b3aa","size":16243,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.5.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.5_1527690251855_0.628759361692375"},"_hasShrinkwrap":false,"publish_time":1527690251928,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1527690251928,"_cnpmcore_publish_time":"2021-12-17T01:06:45.641Z"},"1.0.4":{"name":"v8-coverage","version":"1.0.4","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^4.2.1","v8-to-istanbul":"^1.2.0","yargs":"^11.0.0"},"gitHead":"39e8e314d3af1d275d3fb1169a0f3b156801a47e","_id":"v8-coverage@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.10.1","_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"dist":{"shasum":"c5659debdbd82bd85b7727f84dde3b6cc1597cf7","size":16105,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.4.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.4_1527175746253_0.0632056554557423"},"_hasShrinkwrap":false,"publish_time":1527175746363,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1527175746363,"_cnpmcore_publish_time":"2021-12-17T01:06:46.236Z"},"1.0.3":{"name":"v8-coverage","version":"1.0.3","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^4.2.1","v8-to-istanbul":"^1.2.0","yargs":"^11.0.0"},"gitHead":"c962b8bb016aa257657dd5fdd68e2a94d2f51bc4","_id":"v8-coverage@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.10.1","_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"dist":{"shasum":"1de7c809ae6ba0d5fc77018d5622c7b8fcd398ee","size":16084,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.3.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.3_1527155333128_0.9269582794078988"},"_hasShrinkwrap":false,"publish_time":1527155333211,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1527155333211,"_cnpmcore_publish_time":"2021-12-17T01:06:46.470Z"},"1.0.0":{"name":"v8-coverage","version":"1.0.0","description":"Use native v8 inspector to generate coverage reports","main":"index.js","bin":{"cov8":"./bin/cov8.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Eywek/v8-coverage.git"},"keywords":["coverage","v8","istanbul"],"author":{"name":"Eywek","email":"contact@eywek.fr"},"license":"ISC","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"homepage":"https://github.com/Eywek/v8-coverage#readme","dependencies":{"debug":"^3.1.0","foreground-child":"^1.5.6","istanbul-lib-coverage":"^1.2.0","istanbul-lib-report":"^1.1.3","istanbul-reports":"^1.3.0","mkdirp":"^0.5.1","rimraf":"^2.6.2","signal-exit":"^3.0.2","spawn-wrap":"^1.4.2","test-exclude":"^4.2.1","v8-to-istanbul":"^1.2.0","yargs":"^11.0.0"},"gitHead":"1b3a8251f8a0590948ba9445561548b80c5eb9c6","_id":"v8-coverage@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.10.1","_npmUser":{"name":"eywek","email":"contact@eywek.fr"},"dist":{"shasum":"81588498a5b4a3ddac292a8956c7cf187eeab117","size":15138,"noattachment":false,"key":"/v8-coverage/-/v8-coverage-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/v8-coverage/download/v8-coverage-1.0.0.tgz"},"maintainers":[{"name":"npm:eywek","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/v8-coverage_1.0.0_1527151386992_0.3957050095339081"},"_hasShrinkwrap":false,"publish_time":1527151387068,"deprecated":"This tool was built when [c8](https://github.com/bcoe/c8) package wasn't ready to be used, c8 has now more functionality and works better that this module. So you should really use c8.","_cnpm_publish_time":1527151387068,"_cnpmcore_publish_time":"2021-12-17T01:06:46.724Z"}},"readme":"# cov8 - Native V8 coverage tool\n\nCode-coverage using [v8's Inspector](https://nodejs.org/dist/latest-v8.x/docs/api/inspector.html)\nthat's compatible with [Istanbul's reporters](https://istanbul.js.org/docs/advanced/alternative-reporters/).\n_This tool is inspired from [c8](https://github.com/bcoe/c8)._\n\nLike [nyc](https://github.com/istanbuljs/nyc), cov8 just magically works:\n\n\n```bash\nyarn global add v8-coverage\ncov8 node foo.js\n```\n\nThe above example will collect coverage for `foo.js` using v8's inspector.\n\n## How to use\n\nLike the above example you just need to run this command to collect coverage: \n\n```bash\ncov8 <command>\n```\n\nIf you want to get a coverage report, you just need to run this:\n\n```bash\ncov8 report <reporter>\n```\n\nYou can find the list of available reporters [here](https://github.com/istanbuljs/istanbuljs/tree/master/packages/istanbul-reports/lib).\n\nIf you want to clean the coverage folder, run this:\n\n```bash\ncov8 clear\n```\n\n### Options\n\nSome options can be pass as parameter like:\n\n- include _you can specify which files you want to cover_\n- exclude _you can specify which files you want to don't cover_\n- coverage-directory _where coverage files are stored (map/reports), `./coverage` by default_\n- forks _use this option if you want to collect coverage from forked process_\n\nYou can get more help with:\n\n```bash\ncov8 --help\n```\n\n\n## How it Works\n\nBefore running your application cov8 creates [an inspector session](https://nodejs.org/api/inspector.html) in v8 and enables v8's\n[built in coverage reporting](https://v8project.blogspot.com/2017/12/javascript-code-coverage.html).\n\nJust before your application exits, cov8 fetches the coverage information from\nv8 and writes it to disk in a format compatible with\n[Istanbul's reporters](https://istanbul.js.org/).\n","_attachments":{},"homepage":"https://github.com/Eywek/v8-coverage#readme","bugs":{"url":"https://github.com/Eywek/v8-coverage/issues"},"license":"ISC"}