v8codecov

V8 Code Coverage json / object outputs for CSS and JS (soon). This helps you receive the V8 Code Coverage objects from Chrome/Chromium DevTools, which are only viewable in the DevTools window, as of Chrome 63. This package allows you to work on those extr

Usage no npm install needed!

<script type="module">
  import v8codecov from 'https://cdn.skypack.dev/v8codecov';
</script>

README

v8codecov

v8codecov is a tool to extract JSON Objects for V8 Code Coverage for JS and CSS. Chrome DevTools Protocol Viewer APIs are used for the same.

v8codecov takes your website name as input and throws correspoding V8 Code Coverage Objects for JS and CSS.

Example usage

var codecov = require('v8codecov');
codecov('https://news.ycombinator.com');

Update! (10th Feb, 2018) : Functioning correctly now. Dependency issue resolved.

Issues and PRs welcome 🤗(on Github).