0.0.1 • Published 10 years ago

co-concat-stream v0.0.1

Weekly downloads
239
License
MIT
Repository
github
Last release
10 years ago

co-concat-stream

Concat stream contents, generator-style.

Install

$ npm install co-concat-stream

Usage

var concat = require('co-concat-stream');

var content = yield* concat(fs.createReadStream(file))

API

concat(stream, opts)

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

License

MIT

0.0.1

10 years ago

0.0.0

10 years ago