torrent-swarm

0.0.3 • Public • Published

torrent-swarm

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    4
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i torrent-swarm

Weekly Downloads

5

Version

0.0.3

License

none

Last publish

Collaborators

  • mafintosh