{"_id":"stream-wormhole","_rev":"3642877","name":"stream-wormhole","description":"Pipe ReadStream to a wormhole","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"time":{"modified":"2024-11-11T06:44:24.000Z","created":"2016-07-15T08:58:48.021Z","2.0.1":"2023-09-17T05:02:50.577Z","2.0.0":"2023-09-16T07:18:22.044Z","1.1.0":"2018-08-15T11:55:25.110Z","1.0.4":"2018-07-17T06:29:45.602Z","1.0.3":"2016-07-25T04:34:21.967Z","1.0.2":"2016-07-15T10:58:56.191Z","1.0.1":"2016-07-15T10:06:25.146Z","1.0.0":"2016-07-15T08:58:48.021Z"},"users":{},"author":{"name":"fengmk2"},"repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git"},"versions":{"2.0.1":{"name":"stream-wormhole","version":"2.0.1","description":"Pipe ReadStream to a wormhole","type":"module","tshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"scripts":{"test":"egg-bin test","lint":"eslint src test","ci":"npm run lint && egg-bin cov","contributor":"git-contributor","prepublishOnly":"tshy && tshy-after"},"dependencies":{},"devDependencies":{"@eggjs/tsconfig":"^1.3.3","@types/mocha":"^10.0.1","@types/node":"^20.6.1","egg-bin":"^6.5.2","eslint":"^8.49.0","eslint-config-egg":"^12.3.0","git-contributor":"^2.1.5","tshy":"^1.0.0","tshy-after":"^1.0.0","typescript":"^5.2.2"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=16.0.0"},"ci":{"version":"16, 18, 20"},"author":{"name":"fengmk2"},"license":"MIT","types":"./dist/commonjs/index.d.ts","gitHead":"1f6003ae8f87dea71e704d337d3889f96030ddf4","_id":"stream-wormhole@2.0.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"fc09a0b75c4e08417e6a5fcaf23ebea8c408bf80","size":4441,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-2.0.1.tgz"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"directories":{},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-wormhole_2.0.1_1694926970426_0.16473112854302285"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-17T05:02:50.577Z","publish_time":1694926970577,"_source_registry_name":"default","_cnpm_publish_time":1694926970577},"2.0.0":{"name":"stream-wormhole","version":"2.0.0","description":"Pipe ReadStream to a wormhole","typings":"./dist/esm/index.d.ts","type":"module","tshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"scripts":{"test":"egg-bin test","lint":"eslint src test","ci":"npm run lint && egg-bin cov","contributor":"git-contributor","prepublishOnly":"tshy"},"dependencies":{},"devDependencies":{"@eggjs/tsconfig":"^1.3.3","@types/mocha":"^10.0.1","@types/node":"^20.6.1","egg-bin":"^6.5.2","eslint":"^8.49.0","eslint-config-egg":"^12.3.0","git-contributor":"^2.1.5","tshy":"^1.0.0","typescript":"^5.2.2"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=16.0.0"},"ci":{"version":"16, 18, 20"},"author":{"name":"fengmk2"},"license":"MIT","gitHead":"7c003e083fa8fecaec3eeb5f3a7433a59ab08b4c","_id":"stream-wormhole@2.0.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"e6b6ee25674a78c6d639377e415421ba16660ca5","size":4429,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-2.0.0.tgz"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"directories":{},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-wormhole_2.0.0_1694848701803_0.500852807497258"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-16T07:18:22.044Z","publish_time":1694848702044,"_source_registry_name":"default","_cnpm_publish_time":1694848702044},"1.1.0":{"name":"stream-wormhole","version":"1.1.0","description":"Pipe ReadStream to a wormhole","main":"index.js","files":["index.js"],"scripts":{"test":"npm run lint && mocha test/*.test.js -r thunk-mocha","test-cov":"istanbul cover _mocha -- test/*.test.js -r thunk-mocha","lint":"eslint *.js test","ci":"npm run lint && npm run test-cov"},"dependencies":{},"devDependencies":{"autod":"*","egg-ci":"^1.0.2","eslint":"3","eslint-config-egg":"3","istanbul":"*","mocha":"*","thunk-mocha":"^1.0.3"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git","web":"https://github.com/node-modules/stream-wormhole"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues","email":"m@fengmk2.com"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 8, 10"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Hongcai Deng","email":"admin@dhchouse.com","url":"https://github.com/denghongcai"}],"gitHead":"ac307430fc4ad0526cd624eedc7c6e10c74a5496","_id":"stream-wormhole@1.1.0","_npmVersion":"5.10.0","_nodeVersion":"10.8.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"300aff46ced553cfec642a05251885417693c33d","size":2483,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-1.1.0.tgz"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-wormhole_1.1.0_1534334125014_0.6189356690146497"},"_hasShrinkwrap":false,"publish_time":1534334125110,"_cnpm_publish_time":1534334125110},"1.0.4":{"name":"stream-wormhole","version":"1.0.4","description":"Pipe ReadStream to a wormhole","main":"index.js","files":["index.js"],"scripts":{"test":"npm run lint && mocha -t 5000 test/*.test.js -r thunk-mocha","test-cov":"istanbul cover _mocha -- -t 5000 test/*.test.js -r thunk-mocha","lint":"eslint *.js test","ci":"npm run lint && npm run test-cov"},"dependencies":{},"devDependencies":{"autod":"*","egg-ci":"^1.0.2","eslint":"3","eslint-config-egg":"3","istanbul":"*","mocha":"*","thunk-mocha":"^1.0.3"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git","web":"https://github.com/node-modules/stream-wormhole"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues","email":"m@fengmk2.com"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6, 8, 10"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Hongcai Deng","email":"admin@dhchouse.com","url":"https://github.com/denghongcai"}],"gitHead":"e410c9994f1027e9e6eb9b0f4590edfa343977f0","_id":"stream-wormhole@1.0.4","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"625fc76b0aeac014419e05f7fbef6d4cea9ef92b","size":2338,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-1.0.4.tgz"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stream-wormhole_1.0.4_1531808985500_0.891227033542062"},"_hasShrinkwrap":false,"publish_time":1531808985602,"_cnpm_publish_time":1531808985602},"1.0.3":{"name":"stream-wormhole","version":"1.0.3","description":"Pipe ReadStream to a wormhole","main":"index.js","files":["index.js"],"scripts":{"test":"npm run lint && mocha -t 5000 test/*.test.js -r thunk-mocha","test-cov":"istanbul cover _mocha -- -t 5000 test/*.test.js -r thunk-mocha","lint":"eslint *.js test","ci":"npm run lint && npm run test-cov"},"dependencies":{},"devDependencies":{"autod":"*","egg-ci":"^1.0.2","eslint":"3","eslint-config-egg":"3","istanbul":"*","mocha":"*","thunk-mocha":"^1.0.3"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git","web":"https://github.com/node-modules/stream-wormhole"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues","email":"m@fengmk2.com"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"},{"name":"Hongcai Deng","email":"admin@dhchouse.com","url":"https://github.com/denghongcai"}],"gitHead":"c59ee904cd301f8c016f60afe874f1547c5b3abc","_id":"stream-wormhole@1.0.3","_shasum":"02b46cf113ee85e4f865f304b7b8ebb3c6e3530a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"02b46cf113ee85e4f865f304b7b8ebb3c6e3530a","size":2210,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-1.0.3.tgz"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/stream-wormhole-1.0.3.tgz_1469421258779_0.06446392461657524"},"directories":{},"publish_time":1469421261967,"_cnpm_publish_time":1469421261967,"_hasShrinkwrap":false},"1.0.2":{"name":"stream-wormhole","version":"1.0.2","description":"Pipe ReadStream to a wormhole","main":"index.js","files":["index.js"],"scripts":{"test":"npm run lint && mocha -t 5000 test/*.test.js -r thunk-mocha","test-cov":"istanbul cover _mocha -- -t 5000 test/*.test.js -r thunk-mocha","lint":"eslint *.js test","ci":"npm run lint && npm run test-cov"},"dependencies":{"black-hole-stream":"~0.0.1"},"devDependencies":{"autod":"*","egg-ci":"^1.0.2","eslint":"3","eslint-config-egg":"3","istanbul":"*","mocha":"*","thunk-mocha":"^1.0.3"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git","web":"https://github.com/node-modules/stream-wormhole"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues","email":"m@fengmk2.com"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"}],"gitHead":"abccc40f94b989b742d51c3c9843202f7d179427","_id":"stream-wormhole@1.0.2","_shasum":"28f3df1641a2ea407f47adb26d4f6eadd6a28294","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"28f3df1641a2ea407f47adb26d4f6eadd6a28294","size":2226,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-1.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stream-wormhole-1.0.2.tgz_1468580335553_0.13434241525828838"},"directories":{},"publish_time":1468580336191,"_cnpm_publish_time":1468580336191,"_hasShrinkwrap":false},"1.0.1":{"name":"stream-wormhole","version":"1.0.1","description":"Pipe ReadStream to a wormhole","main":"index.js","files":["index.js"],"scripts":{"test":"npm run lint && mocha -t 5000 test/*.test.js -r thunk-mocha","test-cov":"istanbul cover _mocha -- -t 5000 test/*.test.js -r thunk-mocha","lint":"eslint *.js test","ci":"npm run lint && npm run test-cov"},"dependencies":{},"devDependencies":{"autod":"*","black-hole-stream":"^0.0.1","egg-ci":"^1.0.2","eslint":"3","eslint-config-egg":"3","istanbul":"*","mocha":"*","thunk-mocha":"^1.0.3"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git","web":"https://github.com/node-modules/stream-wormhole"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues","email":"m@fengmk2.com"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"}],"gitHead":"71ec26c8d9a4e213f8bfa45b53732b8e84b7026d","_id":"stream-wormhole@1.0.1","_shasum":"96d621e5c2053593ab9ade88c7171c069ff3443e","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"96d621e5c2053593ab9ade88c7171c069ff3443e","size":2215,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/stream-wormhole-1.0.1.tgz_1468577182619_0.46772990305908024"},"directories":{},"publish_time":1468577185146,"_cnpm_publish_time":1468577185146,"_hasShrinkwrap":false},"1.0.0":{"name":"stream-wormhole","version":"1.0.0","description":"Pipe ReadStream to a wormhole","main":"index.js","files":["index.js"],"scripts":{"test":"npm run lint && mocha -t 5000 test/*.test.js -r thunk-mocha","test-cov":"istanbul cover _mocha -- -t 5000 test/*.test.js -r thunk-mocha","lint":"eslint *.js test","ci":"npm run lint && npm run test-cov"},"dependencies":{},"devDependencies":{"autod":"*","black-hole-stream":"^0.0.1","egg-ci":"^1.0.2","eslint":"3","eslint-config-egg":"3","istanbul":"*","mocha":"*","thunk-mocha":"^1.0.3"},"homepage":"https://github.com/node-modules/stream-wormhole","repository":{"type":"git","url":"git://github.com/node-modules/stream-wormhole.git","web":"https://github.com/node-modules/stream-wormhole"},"bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues","email":"m@fengmk2.com"},"keywords":["stream-wormhole","wormhole","stream"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6"},"author":{"name":"fengmk2","email":"m@fengmk2.com","url":"http://fengmk2.com"},"license":"MIT","contributors":[{"name":"fengmk2","email":"m@fengmk2.com","url":"https://fengmk2.com"}],"gitHead":"6a2f81ba44f3d8a319d8d76c0b0caee9071bf1e5","_id":"stream-wormhole@1.0.0","_shasum":"88a197a4de699c5a6993e27468eef2ef75a7d03b","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"maintainers":[{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"}],"dist":{"shasum":"88a197a4de699c5a6993e27468eef2ef75a7d03b","size":2069,"noattachment":false,"key":"/stream-wormhole/-/stream-wormhole-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/stream-wormhole/download/stream-wormhole-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stream-wormhole-1.0.0.tgz_1468573125380_0.9203692306764424"},"directories":{},"publish_time":1468573128021,"_cnpm_publish_time":1468573128021,"_hasShrinkwrap":false}},"readme":"# stream-wormhole\n\n[![NPM version][npm-image]][npm-url]\n[![CI](https://github.com/node-modules/stream-wormhole/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/stream-wormhole/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/stream-wormhole.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/stream-wormhole\n[codecov-image]: https://codecov.io/github/node-modules/stream-wormhole/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/node-modules/stream-wormhole?branch=master\n[download-image]: https://img.shields.io/npm/dm/stream-wormhole.svg?style=flat-square\n[download-url]: https://npmjs.org/package/stream-wormhole\n\nPipe `ReadStream` / `Readable` to a wormhole.\n\n## Usage\n\n```ts\nimport sendToWormhole from 'stream-wormhole';\nimport fs from 'node:fs';\n\nconst readStream = fs.createReadStream(__filename);\n\n// ignore all error by default\nsendToWormhole(readStream)\n  .then(() => console.log('done'));\n\n// throw error\nsendToWormhole(readStream, true)\n  .then(() => console.log('done'))\n  .catch(err => console.error(err));\n```\n\n## License\n\n[MIT](LICENSE)\n\n<!-- GITCONTRIBUTOR_START -->\n\n## Contributors\n\n|[<img src=\"https://avatars.githubusercontent.com/u/156269?v=4\" width=\"100px;\"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/1433247?v=4\" width=\"100px;\"/><br/><sub><b>denghongcai</b></sub>](https://github.com/denghongcai)<br/>|[<img src=\"https://avatars.githubusercontent.com/u/985607?v=4\" width=\"100px;\"/><br/><sub><b>dead-horse</b></sub>](https://github.com/dead-horse)<br/>|\n| :---: | :---: | :---: |\n\n\nThis project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Sat Sep 16 2023 14:11:38 GMT+0800`.\n\n<!-- GITCONTRIBUTOR_END -->\n","_attachments":{},"homepage":"https://github.com/node-modules/stream-wormhole","bugs":{"url":"https://github.com/node-modules/stream-wormhole/issues"},"license":"MIT"}