for-each-stream

Call an iterator for each chunk in the stream

npm install for-each-stream
4 downloads in the last week
8 downloads in the last month

for-each-stream

Call an iterator for each chunk in the stream

Example

var from = require("read-stream").fromArray
    , forEach = require("for-each-stream")

forEach(from([1,2,3]), function (item) {
    console.log("item", item)
})

Installation

npm install for-each-stream

Contributors

  • Raynos

MIT Licenced

npm loves you