0.0.0 • Published 10 years ago

den v0.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

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