Socket
Book a DemoInstallSign in
Socket

hypername

Package Overview
Dependencies
Maintainers
1
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
0.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

hypername

Distributed name server

npm install -g hypername

Usage

On one computer

hypername init some.db
<prints-key>

On another

hypername init some-other.db <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 some.db hello world
hypername sync some.db

On the other

hypername sync some-other.db --exit # exit after first change
hypername get some-other.db hello # prints world

API

  Usage:
    $ hypername <command> [options]

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

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

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

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