mutant-pull-reduce

1.1.0 • Public • Published

mutant-pull-reduce

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

Install

$ npm install mutant-pull-reduce --save

API

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

pullReduce(stream, reducer, opts)

stream: A source or through pull-stream to suck data from.

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

opts:

  • startValue
  • nextTick

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mutant-pull-reduce

    Weekly Downloads

    19

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • mmckegg