0.0.6 • Published 4 years ago

coverage-parcsser v0.0.6

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

Coverage Parcsser

github: @isAdrisal/coverage-parcsser

Overview

This utility parses the JSON output from Chrome DevTools' coverage reports and outputs the covered CSS code on a per-file basis.

Getting Started

Installation

Install the package with npm:

npm i coverage-parcsser -g

Usage

coverage-parcsser --file coverage.json

This will run the parser on all .css files contained within the coverage.json report, and output each of the parsed .css files to the current directory.

Arguments:

ArgumentDescription
--filePath of the input .json file (REQUIRED)
--selectIf provided, parses only the report for this URL (OPTIONAL).Defaults to all resource URLs. Wrap url in quotes, eg. "url"
--outdirOutput directory of the exported file(s) (OPTIONAL).Defaults to current directory.
coverage-parcsser --file coverage.json --select "https://foo.bar/example.css" --outdir ./output
0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago