# mocha-istanbul

> Istanbul code coverage reporter for Mocha

Latest version **0.3.0** (published 2016-07-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install mocha-istanbul
pnpm add mocha-istanbul
yarn add mocha-istanbul
bun add mocha-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.3.0 |
| Published | 2016-07-20 |
| First published | 2012-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 31 |
| Author | Sergey Belov |
| Maintainers | arikon, searls |
| Keywords | mocha, istanbul, test, coverage |

## Links

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

## Dependencies (1)

- [istanbul](https://npm.io/package/istanbul.md) *

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2016-07-20
- 0.2.0 — 2013-03-15
- 0.1.0 — 2012-10-28

## README

mocha-istanbul
==============

[Mocha](http://visionmedia.github.com/mocha/) reporter to generate coverage report of [istanbul](http://gotwarlost.github.com/istanbul/) instrumented code.

Usage
-----

1. Install `istanbul`, `mocha` and `mocha-istanbul`
2. Instrument your code using `istanbul`
3. Make your tests to use the instrumented code (see [COA](https://github.com/veged/coa) library as an example)
4. Run `mocha` using `mocha-istanbul` as a reporter
5. Use the environment variable `ISTANBUL_REPORTERS` to specify a comma separated list of istanbul reports. By default `ISTANBUL_REPORTERS=text-summary,html`

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