peer-wire-swarm
Swarm implementation for Bittorrent
npm install peer-wire-swarm
Usage
var wireSwarm = ;var swarm = ;swarm;swarm; // add a peerswarm; // remove a peerswarm; // pause the swarm (stops adding connections)swarm; // resume the swarmsswarm; // listen for incoming connections (optional)
License
MIT