# tap-spec

> Formatted TAP output like Mocha's spec reporter

Latest version **5.0.0** (published 2018-06-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install tap-spec
pnpm add tap-spec
yarn add tap-spec
bun add tap-spec
```

Provides the commands `tspec`, `tap-spec`.

## 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.0 |
| Published | 2018-06-05 |
| First published | 2014-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 283 |
| Author | Scott Corgan |
| Maintainers | scottcorgan |
| Keywords | tape, tap, mocha, spec, reporter |

## Links

- npm: https://www.npmjs.com/package/tap-spec
- Repository: https://github.com/scottcorgan/tap-spec
- Homepage: https://github.com/scottcorgan/tap-spec#readme
- Issues: https://github.com/scottcorgan/tap-spec/issues
- npm.io page: https://npm.io/package/tap-spec

## Dependencies (8)

- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.10
- [figures](https://npm.io/package/figures.md) ^1.4.0
- [tap-out](https://npm.io/package/tap-out.md) ^2.1.0
- [duplexer](https://npm.io/package/duplexer.md) ^0.1.1
- [through2](https://npm.io/package/through2.md) ^2.0.0
- [pretty-ms](https://npm.io/package/pretty-ms.md) ^2.1.0
- [repeat-string](https://npm.io/package/repeat-string.md) ^1.5.2

## 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
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 5.0.0 (latest) — 2018-06-05
- 4.1.2 — 2018-05-29
- 4.1.1 — 2015-11-21
- 4.1.0 — 2015-08-20
- 4.0.2 — 2015-06-23
- 4.0.1 — 2015-06-23
- 4.0.0 — 2015-05-29
- 3.0.0 — 2015-04-02
- 2.2.2 — 2015-02-25
- 2.2.1 — 2015-02-06
- 2.2.0 — 2015-01-19
- 2.1.2 — 2014-12-15
- 2.1.1 — 2014-12-01
- 2.1.0 — 2014-11-21
- 2.0.0 — 2014-11-20
- … 14 more at https://npm.io/package/tap-spec/versions

## README

# tap-spec [![NPM version](https://img.shields.io/npm/v/tap-spec.svg?style=flat-square)](https://www.npmjs.com/package/tap-spec) [![NPM download count](https://img.shields.io/npm/dm/tap-spec.svg?style=flat-square)](https://www.npmjs.com/package/tap-spec)

Formatted TAP output like Mocha's spec reporter

![iterm - 2 bash - may 29 2015 at 10 17 am screen shot](https://cloud.githubusercontent.com/assets/974723/7888261/03366236-05ec-11e5-9f94-d9c2707526b7.png)

## Install

```
npm install tap-spec --save-dev
```

## Usage

### Streaming

```js
var test = require('tape');
var tapSpec = require('tap-spec');

test.createStream()
  .pipe(tapSpec())
  .pipe(process.stdout);
```

### CLI

**package.json**

```json
{
  "name": "module-name",
  "scripts": {
    "test": "node ./test/tap-test.js | tap-spec"
  }
}
```

Then run with `npm test`

**Terminal**

```
tape test/index.js | node_modules/.bin/tap-spec
```

**Testling**

```
npm install testling -g
testling test/index.js | node_modules/.bin/tap-spec
```

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