0.0.1 • Published 10 years ago
safe-stream v0.0.1
safe-stream
var safe = require('safe-stream');
var fs = require('fs');
save(fs.createReadStream('file'))
.pipe(emitError())
.pipe(through)
.on('error', function (err) {
console.log(err);
});
License
(The MIT License)
Copyright (c) 2014 Po-Ying Chen <poying.me@gmail.com>.