Socket
Book a DemoInstallSign in
Socket

@hyperswarm/connect-test

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperswarm/connect-test

Create connections with peers in the 'connect-test' topic (Demo)

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
6
500%
Maintainers
3
Weekly downloads
 
Created
Source

@hyperswarm/connect-test

Create connections with peers in the 'connect-test' topic (Demo).

npx @hyperswarm/connect-test

You should see output like:

★   ★   ★   ★   ★   ★
  ★   ★   ★   ★   ★
Hyperswarm Connect-Test
  ★   ★   ★   ★   ★
★   ★   ★   ★   ★   ★

▶ Testing hole-punchability...
✔ Your network is hole-punchable

▶ Joining hyperswarm under the sha256('connect-test') topic
ℹ Waiting for connections...

› New connection!
› New connection!
› New connection!

That's all it does! It joins the hyperswarm under the 'connect-test' topic (hashed by sha256) and then arranges connections. The connections aren't used at all.

Keywords

hyperswarm

FAQs

Package last updated on 22 Apr 2020

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