read-stream

Base class for readable streams

read-stream

Base class for readable streams

var from = require("read-stream")
    , to = require("write-stream")
 
from([1,2,3,4]).pipe(to([], function (array) {
    assert.equal(array, [1,2,3,4])
}))

npm install read-stream

  • Raynos