# babel-istanbul

> Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests

Latest version **0.12.2** (published 2017-02-28) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install babel-istanbul
pnpm add babel-istanbul
yarn add babel-istanbul
bun add babel-istanbul
```

Provides the command `babel-istanbul`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.12.2 |
| Published | 2017-02-28 |
| First published | 2015-03-12 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 16 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 144 |
| Author | Krishnan Anantheswaran |
| Maintainers | jmcriffey |
| Keywords | coverage, code coverage, JS code coverage, JS coverage |

## Links

- npm: https://www.npmjs.com/package/babel-istanbul
- Repository: https://github.com/jmcriffey/babel-istanbul
- Homepage: https://github.com/jmcriffey/babel-istanbul#readme
- Issues: https://github.com/jmcriffey/babel-istanbul/issues
- npm.io page: https://npm.io/package/babel-istanbul

## Dependencies (16)

- [nopt](https://npm.io/package/nopt.md) 3.x
- [once](https://npm.io/package/once.md) 1.x
- [async](https://npm.io/package/async.md) 1.x
- [which](https://npm.io/package/which.md) 1.2.x
- [abbrev](https://npm.io/package/abbrev.md) 1.0.x
- [mkdirp](https://npm.io/package/mkdirp.md) 0.5.x
- [esprima](https://npm.io/package/esprima.md) 2.7.x
- [js-yaml](https://npm.io/package/js-yaml.md) 3.x
- [resolve](https://npm.io/package/resolve.md) ^1.1.0
- [wordwrap](https://npm.io/package/wordwrap.md) 1.0.x
- [escodegen](https://npm.io/package/escodegen.md) 1.8.x
- [handlebars](https://npm.io/package/handlebars.md) ^4.0.1
- [multi-glob](https://npm.io/package/multi-glob.md) ^1.0.1
- [source-map](https://npm.io/package/source-map.md) 0.4.x
- [object-assign](https://npm.io/package/object-assign.md) ^4.0.1
- [supports-color](https://npm.io/package/supports-color.md) 3.1.x

## Recent versions

- 0.12.2 (latest) — 2017-02-28
- 0.12.0-beta (beta) — 2016-11-03
- 0.12.1 — 2016-12-14
- 0.12.0 — 2016-12-14
- 0.11.0 — 2016-06-29
- 0.10.0 — 2016-06-29
- 0.9.0 — 2016-06-29
- 0.8.0 — 2016-04-21
- 0.7.0 — 2016-03-14
- 0.6.1 — 2016-03-01
- 0.6.0 — 2016-01-08
- 0.5.9 — 2015-11-24
- 0.5.8 — 2015-11-12
- 0.5.7 — 2015-11-12
- 0.5.6 — 2015-11-12
- … 35 more at https://npm.io/package/babel-istanbul/versions

## README

## babel-istanbul - [babel](https://github.com/babel/babel) + [istanbul](https://github.com/gotwarlost/istanbul)

* [Features](#features)
* [Getting started](#getting-started)

### Features

* This package handles coverage for babel generated code by reconciling babel's output and its source map.
* babel-istanbul is drop-in replacement for [istanbul](https://github.com/gotwarlost/istanbul), as it is a fork of istanbul with babel compilation inserted into the instrumentation layer.

### Getting started

    $ npm install babel-istanbul

* babel-istanbul is run exactly like istanbul. For specifics on running istanbul, see [istanbul's README](https://github.com/gotwarlost/istanbul/blob/master/README.md).

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