node-modules/stream-wormhole

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

stream-wormhole

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Pipe ReadStream to a wormhole.

Usage
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));
License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.