stream-read
Read from a stream, callback style
Last updated 11 years ago by juliangruber .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install stream-read 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.2                                ...           latest (11 years ago)

5 Versions

  • 1.1.2                                ...           11 years ago
  • 1.1.1                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |