den

0.0.0 • Public • Published

den

bridge from streams to promises

example

var den = require('den')
var from = require('from')

  from([1,2,3])
    .pipe(den())
    .then(function () {
      console.log('all done!')
    })
    

api

den()

returns a Promise which can be piped to from a stream. When the source stream ends, the Promise will be resolved. If the source stream errors, the Promise will be rejected.

install

$ npm install den

running the tests

clone the repository and cd to that directory.

$ npm install
$ npm test

license

ISC. copyright MMXIV jden jason@denizac.org

Readme

Keywords

none

Package Sidebar

Install

npm i den

Weekly Downloads

4

Version

0.0.0

License

ISC

Last publish

Collaborators