Socket
Book a DemoInstallSign in
Socket

hypername

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypername

Distributed name server

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
0
-100%
Maintainers
2
Weekly downloads
 
Created
Source

hypername

Distributed name server

npm install -g hypername

Usage

On one computer

hypername init my-topic
<prints-key>

On another

hypername init my-topic <key-printed-above>

Now the first computer will be able to share name=value pairs with the other one

On the first computer do

hypername set my-topic hello world
hypername sync my-topic

On the other

hypername sync my-topic --exit # exit after first change
hypername get my-topic hello # prints world

API

  Usage:
    $ hypername <command> [options]

  Commands:
    init <topic>                Initialize a hypername database.
    set <topic> <key> <value>   Save a value in the store
    get <topic> <key>           Get a value from the store
    list <topic>                List all key value-pairs
    sync <topic>                Connect to the swarm and synchronize data

    Options:
      -h, --help                Print usage
          --no-live             Exit after the first download

  Examples:
    $ hypername init my-topic         # start hypername & print key
    $ hypername set my-topic hi cat   # save a key-value pair
    $ hypername get my-topic hi       # get a value at a key
    $ hypername list my-topic         # list all key-value pairs
    $ hypername sync my-topic         # sync hypername over the network

  All data is stored in ~/.hypername/<topic>

License

MIT

FAQs

Package last updated on 02 Nov 2016

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