cobertura-parse
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "cobertura-parse", | ||
"version": "1.0.0", | ||
"description": "Parse cobertura coverage to JSON, based on output from https://github.com/davglass/lcov-parse", | ||
"version": "1.0.1", | ||
"description": "Parse cobertura coverage to JSON, based on output from lcov-parse", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -6,1 +6,13 @@ # cobertura-parse | ||
The output is based on, and intended to be compatible with, https://github.com/davglass/lcov-parse | ||
## Use | ||
```js | ||
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 ) { ... } ); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25087
17