Latest Socket ResearchMalicious Chrome Extension Performs Hidden Affiliate Hijacking.Details
Socket
Book a DemoInstallSign in
Socket

dht-rpc-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dht-rpc-bootstrap

Easily spin up a dht-rpc bootstrap node from the command line.

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

dht-rpc-bootstrap

Easily spin up a dht-rpc bootstrap node from the command line.

npm install dht-rpc-bootstrap

Usage

A bootstrap node is just a normal dht node, except it doesn't answer any custom queries and will just forward you to other nodes in the network.

dht-rpc-bootstrap --port=10000

After spinning up a node add it to your dht-rpc bootstrap list

var node = dht({
  bootstrap: ['mydomain.com:10000']
})

var stream = node.query({
  command: 'cool-stuff',
  target: ...
})

License

MIT

FAQs

Package last updated on 25 Sep 2018

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