# map-coverage

> Generate coverage files from your source maps

Latest version **0.0.3** (published 2015-11-28) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install map-coverage
pnpm add map-coverage
yarn add map-coverage
bun add map-coverage
```

Provides the command `map-coverage`.

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-11-28 |
| First published | 2015-11-28 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Louay Alakkad |
| Maintainers | louy |
| Keywords | coverage, source-map, source-maps |

## Links

- npm: https://www.npmjs.com/package/map-coverage
- Repository: https://github.com/louy/map-coverage
- Issues: https://github.com/louy/map-coverage/issues
- npm.io page: https://npm.io/package/map-coverage

## Dependencies (2)

- [glob](https://npm.io/package/glob.md) ^6.0.1
- [lcov-sourcemap](https://npm.io/package/lcov-sourcemap.md) ^0.1.3

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2015-11-28
- 0.0.2 — 2015-11-28
- 0.0.1 — 2015-11-28

## README

# map-coverage
Generate coverage files from your source maps.

Very useful for modules built with Typescript, JSX, or anything that uses
a transpiler such as Babel or Traceur.

## Usage

Simply, `npm i --save-dev map-coverage` and then in `package.json`:

*(Replace `istanbul` with whatever you use)*

```json
{
  "scripts": {
    "coverage": "istanbul cover _mocha",
    "postcoverage": "map-coverage"
  }
}
```

You'll end up with a file **coverage/lcov-mapped.info**, given that you
have **coverage/lcov.info**.

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