open-index/open-npm huggingface dataset:
npm package: @supertape/engine-loader
Description: supertape stub operator
Author: coderaiser
Latest version: 4.0.0

# @supertape/engine-loader [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

[NPMIMGURL]: https://img.shields.io/npm/v/supertape.svg?style=flat&longCache=true
[BuildStatusIMGURL]: https://github.com/coderaiser/supertape/workflows/Node%20CI/badge.svg
[NPMURL]: https://npmjs.org/package/supertape "npm"
[BuildStatusURL]: https://github.com/coderaiser/supertape/actions?query=workflow%3A%22Node+CI%22
[CoverageURL]: https://coveralls.io/github/coderaiser/supertape?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/supertape/badge.svg?branch=master&service=github

Load operators into `supertape`.

## Install

```
npm i @supertape/engine-loader -D
```

## Examples

```js
import {loadOperators} from '@supertape/engine-loader';
import {extend, stub} from 'supertape';

const operators = await loadOperators(['stub']);

const test = extend(operators);

test('with operators', (t) => {
    const fn = stub();
    
    fn('hello');
    
    t.calledWith(fn, ['hello']);
    t.end();
});
```

## License

MIT
npm package: @supertape/formatter-fail
Description: 📼Supertape formatter shows only failed tests
Author: coderaiser
Latest version: 5.0.0

# @supertape/formatter-fail [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-fail.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@supertape/formatter-fail "npm"

📼[`Supertape`](https://github.com/coderaiser/supertape) formatter shows only failed.

## Install

```
npm i supertape @supertape/formatter-fail
```

## Usage

```
supertape --format fail lib
```

## License

MIT
npm package: @supertape/formatter-json-lines
Description: 📼Supertape formatter progress bar
Author: coderaiser
Latest version: 3.0.0

# @supertape/formatter-json-lines [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-json-lines.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@supertape/formatter-json-lines "npm"

📼[`Supertape`](https://github.com/coderaiser/supertape) formatter shows [json-lines](https://jsonlines.org/)

## Install

```
npm i supertape @supertape/formatter-json-lines
```

## Usage

```
supertape --format json-lines lib

{"count":1,"total":3,"failed":0,"test":"supertape: format: json-lines"}
{"count":2,"total":3,"failed":0,"test":"supertape: format: json-lines: skip"}
{"count":3,"total":3,"failed":0,"test":"supertape: format: json-lines: comment"}
{"count":3,"passed":3,"failed":0,"skipped":0}
```

## License

MIT
npm package: @supertape/formatter-progress-bar
Description: 📼 Supertape formatter progress bar
Author: coderaiser
Latest version: 8.0.0

# @supertape/formatter-progress-bar [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-progress-bar.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@supertape/formatter-progress-bar "npm"

📼[`Supertape`](https://github.com/coderaiser/supertape) formatter shows progress bar.

## Install

```
npm i supertape @supertape/formatter-progress-bar
```

## Usage

```
supertape --format progress-bar lib
```

## Env Variables

- `CI=1` - disable progress bar
- `SUPERTAPE_PROGRESS_BAR=1` - force enable/disable progress bar;
- `SUPERTAPE_PROGRESS_BAR_COLOR` - set color of progress bar;
- `SUPERTAPE_PROGRESS_BAR_MIN=100` - count of tests to show progress bar;
- `SUPERTAPE_PROGRESS_BAR_STACK=1` - force show/hide stack on fail;

## License

MIT
npm package: @supertape/formatter-short
Description: 📼Supertape formatter with short output (without callstack)
Author: coderaiser
Latest version: 3.0.0

# @supertape/formatter-short [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-short.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@supertape/formatter-short "npm"

📼[`Supertape`](https://github.com/coderaiser/supertape) formatter with minimalistic output.

## Install

```
npm i supertape @supertape/formatter-short
```

## Usage

```
supertape --format short lib
```

## License

MIT
npm package: @supertape/formatter-tap
Description: 📼Supertape formatter tap
Author: coderaiser
Latest version: 4.0.0

# @supertape/formatter-tap [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-tap.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@supertape/formatter-tap "npm"

📼[`Supertape`](https://github.com/coderaiser/supertape) formatter shows progress bar.

## Install

```
npm i supertape @supertape/formatter-tap
```

## Usage

```
supertape --format tap lib
```

## License

MIT
npm package: @supertape/formatter-time
Description: 📼 Supertape formatter progress bar
Author: coderaiser
Latest version: 3.0.0

# @supertape/formatter-time [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@supertape/formatter-time.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@supertape/formatter-time "npm"

📼[`Supertape`](https://github.com/coderaiser/supertape) formatter shows progress bar.

## Install

```
npm i supertape @supertape/formatter-time
```

## Usage

```
supertape --format time lib
```

## Env Variables

- `CI=1` - disable progress bar
- `SUPERTAPE_TIME=1` - force enable/disable progress bar;
- `SUPERTAPE_TIME_COLOR` - set color of progress bar;
- `SUPERTAPE_TIME_MIN=100` - count of tests to show progress bar;
- `SUPERTAPE_TIME_STACK=1` - force show/hide stack on fail;
- `SUPERTAPE_TIME_CLOCK=⏳` - set clock icon;

## License

MIT
npm package: @supertape/operator-strip
Description: supertape strip operator
Author: coderaiser
Latest version: 1.0.0

# @supertape/operator-strip [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

[NPMIMGURL]: https://img.shields.io/npm/v/supertape.svg?style=flat&longCache=true
[BuildStatusIMGURL]: https://img.shields.io/travis/coderaiser/supertape/master.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/supertape "npm"
[BuildStatusURL]: https://travis-ci.org/coderaiser/supertape "Build Status"
[CoverageURL]: https://coveralls.io/github/coderaiser/supertape?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/supertape/badge.svg?branch=master&service=github

`supertape` operator simplifies work with colored and indented output.

## Install

```
npm i @supertape/operator-strip -D
```

## Operators

Adds next operators to work with:

### stripEqual(fn, args [, message])

```js
import {extend} from 'supertape';
import strip from '@supertape/operator-strip';
import montag from 'montag';

const test = extend(strip);

test('redlint: strip', (t) => {
    const [, result] = redlintTest(filesystem, {
        branch,
    });
    
    const expected = montag`
        # 🍄 hello
    `;
    
    t.stripEqual(result, expected);
    t.end();
});
```

### t.stripEndEqual(fn[, message])

```js
import test, {strip} from 'supertape';
import montag from 'montag';

test('function called with no args', (t) => {
    const expected = montag`
        # 🍀 hello
    `;
    
    t.stripEndEqual(result, expected);
    t.end();
});
```

## License

MIT