# babel-tape-runner

> Babel + Tape for running your ES Next tests

Latest version **3.0.0** (published 2018-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-tape-runner
pnpm add babel-tape-runner
yarn add babel-tape-runner
bun add babel-tape-runner
```

Provides the command `babel-tape-runner`.

## 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 | 3.0.0 |
| Published | 2018-09-12 |
| First published | 2015-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 133 |
| Author | Marc Harter |
| Maintainers | wavded |
| Keywords | babel, tape, tests, testing, harmony, es6, esnext |

## Links

- npm: https://www.npmjs.com/package/babel-tape-runner
- Repository: https://github.com/wavded/babel-tape-runner
- Issues: https://github.com/wavded/babel-tape-runner/issues
- npm.io page: https://npm.io/package/babel-tape-runner

## Dependencies (4)

- [glob](https://npm.io/package/glob.md) ^6.0.1
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.0.0
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.0.0
- [@babel/register](https://npm.io/package/@babel/register.md) ^7.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

- 3.0.0 (latest) — 2018-09-12
- 2.0.1 — 2016-02-22
- 1.3.1 — 2016-02-22
- 2.0.0 — 2015-12-11
- 1.3.0 — 2015-11-02
- 1.2.0 — 2015-08-04
- 1.1.0 — 2015-04-08
- 1.0.0 — 2015-02-28

## README

[![build status](https://img.shields.io/travis/wavded/babel-tape-runner.svg?style=flat-square)](https://travis-ci.org/wavded/babel-tape-runner) [![npm package](https://img.shields.io/npm/v/babel-tape-runner.svg?style=flat-square)](https://www.npmjs.org/package/babel-tape-runner) [![dependency status](https://img.shields.io/david/wavded/babel-tape-runner.svg?style=flat-square)](https://david-dm.org/wavded/babel-tape-runner)

```
Using Babel 7: Use ^3.0.0
Using Babel 6: Use ^2.0.0
Using Babel 5: Use ^1.0.0
```

A test runner for tape that utilizes babel in order to run test suites that include ESNext/Harmony features.

## install

Install globally or locally (for npm scripts):

```sh
npm install babel-tape-runner [-g]
```

## usage

Just run `babel-tape-runner` with the files to test (just like tape's bundled runner).  Store configuration in a `.babelrc` file.

```sh
babel-tape-runner my-es-next-test.js

babel-tape-runner lib/**/__tests__/*-test.js # or glob patterns
```

For example, use this in your `package.json` file so you can run `npm test` to execute your tests:
```json
{
    "scripts": {
        "test": "babel-tape-runner \"lib/**/__tests__/*-test.js\" | faucet"
    },
    ""
}
```

## licence

MIT

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