stream-read

Read from a stream, callback style

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
stream-read
1.1.28 years ago8 years agoMinified + gzip package size for stream-read in KB

Readme

stream-read
Read from a stream, callback style.
build status

Example

var read = require('stream-read');

var stream = createStreamSomeHow();

read(stream, function(err, data){
  // err => stream emitted "error" event
  // truthy data => stream emitted data
  // `null` data => stream ended
});

Installation

$ npm install stream-read

License

MIT