Skip to content
Combine multiple readable streams into one
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
.gitignore
LICENCE
README.md
index.js
package.json

README.md

lazy-concat-stream

Combine multiple readable streams into one

Example

var from = require("read-stream").fromArray
    , to = require("write-stream").toArray
    , concat = require("lazy-concat-stream")

var one = from([1])
    , two = from([2, 3])
    , three = from([4, 5, 6])

concat(one, two, three)
    .pipe(to(function (list) {
        console.log("list", list)
    }))

Installation

npm install lazy-concat-stream

Contributors

  • Raynos

MIT Licenced

Something went wrong with that request. Please try again.