stream-wormhole
Pipe ReadStream to a wormhole
Last updated 3 years ago by fengmk2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (3 years ago)

8 Versions

  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.1.0                                ...           8 years ago
  • 1.0.4                                ...           8 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (2)
Downloads
Today 0
This Week 47
This Month 71
Last Day 6
Last Week 39
Last Month 206
Dependencies (0)
None
Dev Dependencies (10)

Copyright 2013 - present © cnpmjs.org | Home |