co-concat-stream

Concat stream content, generator style

co-concat-stream

Concat stream contents, generator-style.

$ npm install co-concat-stream
var concat = require('co-concat-stream');
 
var content = yield* concat(fs.createReadStream(file))

Creates a generator, that yields with the content of the stream. It stops reading after opts.limit bytes.

MIT