stream-wormhole
Pipe ReadStream to a wormhole
Last updated a year ago by fengmk2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install stream-wormhole 
SYNC missed versions from official npm registry.

stream-wormhole

NPM version CI Test coverage npm download

Pipe ReadStream / Readable to a wormhole.

Usage

import sendToWormhole from 'stream-wormhole';
import fs from 'node:fs';

const readStream = fs.createReadStream(__filename);

// ignore all error by default
sendToWormhole(readStream)
  .then(() => console.log('done'));

// throw error
sendToWormhole(readStream, true)
  .then(() => console.log('done'))
  .catch(err => console.error(err));

License

MIT

Contributors


fengmk2


denghongcai


dead-horse

This project follows the git-contributor spec, auto updated at Sat Sep 16 2023 14:11:38 GMT+0800.

Current Tags

  • 2.0.1                                ...           latest (a year ago)

8 Versions

  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.1.0                                ...           6 years ago
  • 1.0.4                                ...           6 years ago
  • 1.0.3                                ...           8 years ago
  • 1.0.2                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (2)
Downloads
Total 5
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (9)

© 2010 - cnpmjs.org x YWFE | Home | YWFE