0.0.1 • Published 10 years ago

safe-stream v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

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>.