Socket
Book a DemoInstallSign in
Socket

hyperpipe

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperpipe

Distributed input/output pipe.

latest
Source
npmnpm
Version
3.2.0
Version published
Maintainers
2
Created
Source

hyperpipe

Distributed input/output pipe.

npm install -g hyperpipe
hyperpipe --help

Usage

On one computer

./program | hyperpipe /tmp/some-folder
<prints-key>

On another

hyperpipe /tmp/some-other-folder <key-from-above>

API

  Usage:
    $ hyperpipe <database> <key?> [options]

  Commands:
    <default>    Pipe a file into the swarm or read from the swarm at a key

    Options:
      -h, --help      Print usage
      -t, --tail      Only print get updates
      -e, --encoding  Set encoding for hypercore (parse ndjson by setting to 'json')
          --no-live   Exit after hyperpipe is done syncing

  Examples:
    $ hyperpipe ./pipe.db < README.md         # cat a file & print key
    $ hyperpipe ./pipe.db <key> > README.md   # write a file from a key
    $ tail -F foo.log | hyperpipe ./pipe.db   # tail a live log file
    $ hyperpipe ./pipe.db --encoding='json' < my-data.json   # put ndjson into hypercore

License

MIT

FAQs

Package last updated on 11 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts