You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parttimejob/node_modules/end-or-error
侯晓宇 0cb2601919
init
4 weeks ago
..
History.md init 4 weeks ago
LICENSE init 4 weeks ago
README.md init 4 weeks ago
index.js init 4 weeks ago
package.json init 4 weeks ago

README.md

end-or-error

NPM version build status Test coverage Gittip David deps npm download

Listen readable stream end or error event once.

Install

$ npm i end-or-error

Usage

var eoe = require('end-or-error');

var stream = createReadStreamSomeHow();

eoe(stream, function (err) {
  // err => stream emitted "error" event
});

License

MIT