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

Made by Antonio Ramirez

torrent-swarm

0.0.3

@mafintosh

npmSnykSocket
Downloads:0
$ npm install torrent-swarm
DailyWeeklyMonthlyYearly

torrent-swarm

a network swarm implementation that uses the DHT to find peers

npm install torrent-dht

usage

var swarm = require('torrent-swarm');
var nodes = swarm(myInfoHash);

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

nodes.listen();