peer-swarm

0.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i peer-swarm

Weekly Downloads

0

Version

0.0.6

License

none

Last publish

Collaborators

  • mafintosh