Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cobertura-parse

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cobertura-parse - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"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 ) { ... } );
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc