# jacoco-parse

> Parse jacoco coverage to JSON, based on output from lcov-parse

Latest version **2.0.1** (published 2019-01-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install jacoco-parse
pnpm add jacoco-parse
yarn add jacoco-parse
bun add jacoco-parse
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2019-01-31 |
| First published | 2015-07-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 335.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Vokal |
| Maintainers | jrit, vokal, wmbest2 |

## Links

- npm: https://www.npmjs.com/package/jacoco-parse
- Repository: https://github.com/vokal/jacoco-parse
- Issues: https://github.com/vokal/jacoco-parse/issues
- npm.io page: https://npm.io/package/jacoco-parse

## Dependencies (2)

- [mocha](https://npm.io/package/mocha.md) ^5.2.0
- [xml2js](https://npm.io/package/xml2js.md) ^0.4.9

## Recent versions

- 2.0.1 (latest) — 2019-01-31
- 2.0.0 — 2018-09-18
- 1.0.1 — 2018-04-16
- 1.0.0 — 2015-07-07

## README

# 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

```js
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 ) { ... } );
```

---
_Source: https://npm.io/package/jacoco-parse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
