Name: stream-wormhole
Owner: node_modules
Description: Pipe ReadStream to a wormhole
Created: 2016-07-15 08:51:38.0
Updated: 2018-05-15 11:18:44.0
Pushed: 2016-07-25 04:32:44.0
Homepage: null
Size: 6
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Pipe ReadStream to a wormhole.
t sendToWormhole = require('stream-wormhole');
t fs = require('fs');
t readStream = fs.createReadStream(__filename);
gnore all error by default
ToWormhole(readStream, true)
hen(() => console.log('done'));
hrow error
ToWormhole(readStream, true)
hen(() => console.log('done'))
atch(err => console.error(err));