# mutant-pull-reduce

> Reduce the output of a pull-stream into a mutant observable.

Latest version **1.1.0** (published 2017-02-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install mutant-pull-reduce
pnpm add mutant-pull-reduce
yarn add mutant-pull-reduce
bun add mutant-pull-reduce
```

## 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 | 1.1.0 |
| Published | 2017-02-24 |
| First published | 2017-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Matt McKegg |
| Maintainers | mmckegg |
| Keywords | mutant, observable, observ, pull, convert |

## Links

- npm: https://www.npmjs.com/package/mutant-pull-reduce
- Repository: https://github.com/mmckegg/mutant-pull-reduce
- Homepage: https://github.com/mmckegg/mutant-pull-reduce#readme
- Issues: https://github.com/mmckegg/mutant-pull-reduce/issues
- npm.io page: https://npm.io/package/mutant-pull-reduce

## Dependencies (3)

- [mutant](https://npm.io/package/mutant.md) ^3.14.1
- [pull-pause](https://npm.io/package/pull-pause.md) 0.0.0
- [pull-stream](https://npm.io/package/pull-stream.md) ^3.5.0

## Recent versions

- 1.1.0 (latest) — 2017-02-24
- 1.0.1 — 2017-02-17
- 1.0.0 — 2017-02-15

## README

mutant-pull-reduce
===

Reduce the output of a [pull-stream](https://github.com/pull-stream/pull-stream) into a [mutant](https://github.com/mmckegg/mutant) observable.

## Install

```shell
$ npm install mutant-pull-reduce --save
```

## API

```
var pullReduce = require('mutant-pull-reduce')
```

### `pullReduce(stream, reducer, opts)`

**`stream`:** A `source` or `through` [pull-stream](https://github.com/pull-stream/pull-stream) to suck data from.

**`reducer(lastValue, item)`**: expects the new value to be returned

**`opts`**:
 - startValue
 - nextTick

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