Nostalgic Primordial Monster
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    cobertura-parsepublic

    cobertura-parse

    Parse cobertura results file and return JSON

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

    Use

    var cob = require( "cobertura-parse" );
     
    // parse by file path
    cob.parseFile( "filepath.xml", function( err, result ) { ... } );
     
    // or parse file contents
    cob.parseContent( "<?xml version="1.0" ?><coverage>...</coverage>",
        function( err, result ) { ... } );

    Keywords

    none

    install

    npm i cobertura-parse

    Downloadsweekly downloads

    3

    version

    1.0.5

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar