promise-waterfall
Runs an array of promises in series, each passing their results to the next promise in the array.
Install
$ npm install promise.waterfall --save
Usage
var promiseWaterfall = { return { b = b || 0 return Promise }} var addOne =
API
promiseWaterfall(functions)
-> promise
Runs the array of functions in series, waiting for each to resolve and passing each result to the next function in the array.
functions
Required
Type: array[function]