open-index/open-npm huggingface dataset:
npm package: @nullcc/unicov
Description: Transforms coverage into an unify coverage format.
Author: Ethan Zhang
Latest version: 1.7.0

# unicov

Transforms coverage into an unify coverage format.

Supported coverage reporter types:

* istanbul
* cobertura
* jacoco
* xccov
* clover
* llvm-cov
* auto (unicov will detect coverage type automatically)

## Installation

```shell script
$ npm i @nullcc/unicov
```

## Usage

Parsing single coverage in a specific type coverage:

```typescript
import { Unicov } from '@nullcc/unicov';

const unicov = await Unicov.fromCoverage('./coverage.json', 'istanbul');
const commonCoverage = unicov.getCoverageData();

// using commonCoverage...
```

Parsing multi coverages in a specific coverage format:

```typescript
import { Unicov } from '@nullcc/unicov';

const coverageFiles = [
  './json-coverage1.json',
  './json-coverage2.json',
  './json-coverage3.json'
];
const unicov = await Unicov.fromCoverages(coverageFiles, 'istanbul');
const commonCoverage = unicov.getCoverageData();

// using commonCoverage...
```

Parsing multi coverages automatically:

```typescript
import { Unicov } from '@nullcc/unicov';

const coverageFiles = [
  './istanbul-coverage.json',
  './jacoco-empty-cobertura-coverage.xml',
  './cobertura-empty-cobertura-coverage.xml',
  './xccov-empty-cobertura-coverage.xml'
];

const unicov = await Unicov.fromCoverages(coverageFiles, 'auto');
const commonCoverage = unicov.getCoverageData();

// using commonCoverage...
```

## Publish

```shell script
$ npm publish --access public
```
npm package: @nulldivision/doctyped
Description: Swagger-enabled flow types generator
Author: NullDivision
Latest version: 0.2.0
Deprecated: Package republished without scope. Use npm i doctyped from now on.

# doctyped

## Description

A tool created allowing auto-generation of flow types from API documentation descriptions.

## Usage

```
doctyped /path/to/descriptor.json
```