Transform a node.js stream into an async iterator
Switch branches/tags
Nothing to show
Latest commit 27fb82a Jun 30, 2013
Failed to load latest commit information. add readme Jun 30, 2013
index.js init Jun 30, 2013
package.json add readme Jun 30, 2013
test.js init Jun 30, 2013

#stream-iterator Turns a Node.js streams2 stream into an asynchronous iterator.\ The iterator can be conveniently used with the iterator functions in the async-iterators module.

var createStreamIterator = require('stream-iterator')

var iterator = createStreamIterator(aReadableStream)

var iterate = function() {, data) {
    if (data) iterate()

##License MIT