npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

peer-swarm

0.0.6

@mafintosh

npmSnykSocket
Downloads:126
$ npm install peer-swarm
DailyWeeklyMonthlyYearly

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();