# hifive-tap

> TAP reporter for Hi-Five.

Latest version **0.3.0** (published 2014-06-04) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2014-06-04 |
| First published | 2013-09-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Quildreen "Sorella" Motta |
| Maintainers | killdream |
| Keywords | testing, tap, hifive, hifive-reporter |

## Links

- npm: https://www.npmjs.com/package/hifive-tap
- Repository: https://github.com/hifivejs/hifive-tap
- Issues: https://github.com/hifivejs/hifive-tap/issues
- npm.io page: https://npm.io/package/hifive-tap

## Dependencies (2)

- [data.maybe](https://npm.io/package/data.maybe.md) ^1.0.3
- [core.lambda](https://npm.io/package/core.lambda.md) ^1.0.0

## 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) — 2014-06-04
- 0.2.0 — 2014-06-02
- 0.1.2 — 2014-05-05
- 0.1.1 — 2014-01-05
- 0.1.0 — 2013-09-28

## README

Hi-Five: TAP reporter
=====================

[![Dependencies Status](https://david-dm.org/hifivejs/hifive-tap.png)](https://david-dm.org/hifivejs/hifive-tap)
[![NPM version](https://badge.fury.io/js/hifive-tap.png)](http://badge.fury.io/js/hifive-tap)
[![unstable](http://hughsk.github.io/stability-badges/dist/unstable.svg)](http://github.com/hughsk/stability-badges)

[![browser support](http://ci.testling.com/hifivejs/hifive-tap.png)](http://ci.testling.com/hifivejs/hifive-tap)

TAP reporter for [Hi-Five](https://github.com/hifivejs/hifive).


## Example

You pass the `hifive-tap` library as your reporter:

```js
var hifive  = require('hifive')
var alright = require('alright')

var tests = spec 'Your thing' {
  it 'Should do X' {
    f(x) => g(x)
  }
}

hifive.runWithDefaults([tests], require('hifive-tap')())
      .fork(function(error) { throw error }
           ,function(report){ if (report.all().length === 0) process.exit(1) })
```

And get back TAP output!

```text
TAP version 13
ok 1 Your thing Should do X

1..1
# Tests ran: 1 (1ms)
# Passed:    1
# Failed:    0
```


## Installing

Just grab it from NPM:

    $ npm install hifive-tap
    
    
## Licence

Copyright (c) 2013—2014 Quildreen Motta.

Released under the [MIT licence](https://github.com/hifivejs/hifive-tap/blob/master/LICENCE).

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