# tap-mocha-reporter

> Format a TAP stream using Mocha's set of reporters

Latest version **5.0.4** (published 2023-09-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install tap-mocha-reporter
pnpm add tap-mocha-reporter
yarn add tap-mocha-reporter
bun add tap-mocha-reporter
```

Provides the command `tap-mocha-reporter`.

## 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 | 5.0.4 |
| Published | 2023-09-26 |
| First published | 2015-04-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 8 |
| Dependencies | 8 |
| Unpacked size | 105.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 29 |
| Author | Isaac Z. Schlueter |
| Maintainers | isaacs |

## Links

- npm: https://www.npmjs.com/package/tap-mocha-reporter
- Repository: https://github.com/isaacs/tap-mocha-reporter
- Issues: https://github.com/isaacs/tap-mocha-reporter/issues
- npm.io page: https://npm.io/package/tap-mocha-reporter

## Dependencies (8)

- [diff](https://npm.io/package/diff.md) ^4.0.1
- [glob](https://npm.io/package/glob.md) ^7.0.5
- [debug](https://npm.io/package/debug.md) ^4.1.1
- [tap-yaml](https://npm.io/package/tap-yaml.md) ^1.0.0
- [tap-parser](https://npm.io/package/tap-parser.md) ^11.0.0
- [color-support](https://npm.io/package/color-support.md) ^1.1.0
- [unicode-length](https://npm.io/package/unicode-length.md) ^2.0.2
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^2.0.0

## Recent versions

- 5.0.4 (latest) — 2023-09-26
- 4.0.0 (new-yaml) — 2019-02-19
- 5.0.3 — 2022-03-05
- 5.0.2 — 2022-02-28
- 5.0.1 — 2019-12-30
- 5.0.0 — 2019-09-30
- 4.0.1 — 2019-02-20
- 3.0.9 — 2019-02-18
- 3.0.8 — 2019-02-17
- 3.0.7 — 2018-03-12
- 3.0.6 — 2017-06-25
- 3.0.5 — 2017-06-18
- 3.0.4 — 2017-06-18
- 3.0.3 — 2017-01-26
- 3.0.2 — 2017-01-19
- … 29 more at https://npm.io/package/tap-mocha-reporter/versions

## README

# tap-mocha-reporter

Format a TAP stream using Mocha's set of reporters

## USAGE

On the command line, pipe TAP in, and it'll do its thing.

```bash
tap test/*.js | tap-mocha-reporter
```

You can also specify a reporter with the first argument.  The default
is `spec`.

```bash
tap test/*.js | tap-mocha-reporter nyan
```

Programmatically, you can use this as a transform stream.

```javascript
var TSR = require('tap-mocha-reporter')

fs.createReadStream('saved-test-output.tap')
  .pipe(TSR('dot'))
```

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