# golang-cover-parse

> Parse Go coverage to JavaSript object, based on output from lcov-parse

Latest version **2.0.0** (published 2018-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install golang-cover-parse
pnpm add golang-cover-parse
yarn add golang-cover-parse
bun add golang-cover-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.0 |
| Published | 2018-09-18 |
| First published | 2015-09-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Vokal |
| Maintainers | jrit, vokal |

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.0.0 (latest) — 2018-09-18
- 1.0.1 — 2015-09-11
- 1.0.0 — 2015-09-10

## README

# golang-cover-parse

Parse Go cover results file to JavaScript Object

The output is based on, and intended to be compatible with, https://github.com/davglass/lcov-parse

Also see:
- [cobertura-parse](https://www.npmjs.com/package/cobertura-parse)
- [jacoco-parse](https://www.npmjs.com/package/jacoco-parse)

## Use

```js
var gocov = require( "golang-cover-parse" );

// parse by file path
gocov.parseFile( "filepath.out", function( err, result ) { ... } );

// or parse file contents
gocov.parseContent( "...",
    function( err, result ) { ... } );
```

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