{
  "name": "peer-wire-swarm",
  "version": "0.9.1",
  "description": "a peer swarm implementation",
  "repository": {
    "type": "git",
    "url": "git://github.com/mafintosh/peer-wire-swarm.git"
  },
  "dependencies": {
    "peer-wire-protocol": "^0.7.0",
    "fifo": "^0.1.4",
    "once": "^1.1.1",
    "speedometer": "^0.1.2"
  },
  "readme": "# peer-wire-swarm\n\nSwarm implementation for Bittorrent\n\n\tnpm install peer-wire-swarm\n\n# Usage\n\n``` js\nvar wireSwarm = require('peer-wire-swarm');\nvar swarm = wireSwarm(myInfoHash, myPeerId);\n\nswarm.on('wire', function(wire) {\n\t// a relevant peer-wire-protocol as appeared\n\t// see the peer-wire-protocol module for more info\n\n\twire.on('unchoke', function() {\n\t\t// we are now unchoked\n\t});\n\n\tswarm.wires // <- list of all connected wires\n});\n\nswarm.add('127.0.0.1:42442'); // add a peer\nswarm.remove('127.0.0.1:42244'); // remove a peer\n\nswarm.pause();  // pause the swarm (stops adding connections)\nswarm.resume(); // resume the swarms\n\nswarm.listen(6881); // listen for incoming connections (optional)\n```\n\n## License\n\nMIT",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/mafintosh/peer-wire-swarm/issues"
  },
  "homepage": "https://github.com/mafintosh/peer-wire-swarm",
  "_id": "peer-wire-swarm@0.9.1",
  "_shasum": "54faa44d5116169900c0b701c2e8f62b969bcac8",
  "_from": "peer-wire-swarm@^0.9.0",
  "_resolved": "https://registry.npmjs.org/peer-wire-swarm/-/peer-wire-swarm-0.9.1.tgz"
}
