$ gnpm install 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
Copyright 2013 - present © cnpmjs.org | Home |