npm.io
2.2.0 • Published 3 years ago

@7sean68/jacoco-parse

Licence
MIT
Version
2.2.0
Deps
1
Size
338 kB
Vulns
0
Weekly
0

@7sean68/jacoco-parse

forked from https://github.com/vokal/jacoco-parse

Parse jacoco results file and return JSON

The output is based on, and intended to be compatible with, https://github.com/davglass/lcov-parse as well as https://github.com/vokal/cobertura-parse

Use

var jacoco = require( "jacoco-parse" );

// parse by file path
jacoco.parseFile( "filepath.xml", function( err, result ) { ... } );

// or parse file contents
jacoco.parseContent( "<?xml version="1.0" ?><report>...</report>",
    function( err, result ) { ... } );