Package Exports
- end-or-error
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (end-or-error) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
end-or-error
Listen readable stream end or error event once.
Install
$ npm i end-or-errorUsage
var eoe = require('end-or-error');
var stream = createReadStreamSomeHow();
eoe(stream, function (err) {
// err => stream emitted "error" event
});