Socket
Book a DemoInstallSign in
Socket

peer-swarm

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

peer-swarm

a peer swarm implementation that uses the torrent DHT to find peers

latest
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

peer-swarm

a peer swarm implementation that uses the torrent DHT to find peers

npm install peer-swarm

usage

var peerSwarm = require('peer-swarm');
var swarm = peerSwarm(myInfoHash);

swarm.on('connection', function(connection) {
	// a relevant connection has appeared
	// you should pipe this to a torrent protocol stream
});

swarm.listen();

FAQs

Package last updated on 15 Apr 2013

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