Call an iterator for each chunk in the stream
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
.gitignore
LICENCE
README.md
index.js
package.json

README.md

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