{
  "name": "compact2string",
  "version": "1.2.0",
  "description": "Convert BitTorrent compact hostname & port buffer to a string 'hostname:port'",
  "main": "index.js",
  "scripts": {
    "test": "./node_modules/mocha/bin/mocha -R spec",
    "travis-test": "istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/bencevans/node-compact2string.git"
  },
  "bugs": {
    "url": "https://github.com/bencevans/node-compact2string/issues"
  },
  "keywords": [
    "torrent",
    "compact",
    "tracker",
    "bittorrent",
    "binary",
    "convert"
  ],
  "author": {
    "name": "Ben Evans",
    "email": "ben@bensbit.co.uk",
    "url": "http://bensbit.co.uk"
  },
  "license": "BSD",
  "devDependencies": {
    "mocha": "~1.7.4",
    "istanbul": "~0.1.44",
    "coveralls": "~2.3.0"
  },
  "dependencies": {},
  "readme": "# compact2string\n\nConvert bittorrent's [compact](http://wiki.theory.org/BitTorrent_Tracker_Protocol#Peer_Dictionary_Format) ip/host binary returned by Trackers to 'hostname:port' string.\n\n[![Build Status](https://travis-ci.org/bencevans/node-compact2string.png?branch=master)](https://travis-ci.org/bencevans/node-compact2string)\n[![Coverage Status](https://coveralls.io/repos/bencevans/node-compact2string/badge.png?branch=master)](https://coveralls.io/r/bencevans/node-compact2string?branch=master)\n[![Dependency Status](https://david-dm.org/bencevans/node-compact2string.png)](https://david-dm.org/bencevans/node-compact2string)\n\n## Installation\n\n```npm install compact2string```\n\n## Usage\n\n### Single compact2string\t\n\n```javascript\nvar compact2string = require(\"compact2string\");\nvar Buffer = require(\"buffer\").Buffer;\nvar ipport = compact2string(new Buffer(\"0A0A0A05FF80\", \"hex\"));\nconsole.log(ipport);\n```\n\n=> ```\"10.10.10.5:65408\" ```\n\n### Multiple in same buffer\n\t\n```javascript\nvar hostports = compact2string.multi(new Buffer(\"0A0A0A05008064383a636f6d\", \"hex\"));\nconsole.log(hostports);\n```\n\n=> ```[ '10.10.10.5:128', '100.56.58.99:28525' ]```\n\n## Licence\n\n(MIT Licence)\n",
  "readmeFilename": "README.md",
  "homepage": "https://github.com/bencevans/node-compact2string",
  "_id": "compact2string@1.2.0",
  "_shasum": "755b7161db13e2b15b96ae020b44368e57fffbcf",
  "_from": "compact2string@^1.2.0",
  "_resolved": "https://registry.npmjs.org/compact2string/-/compact2string-1.2.0.tgz"
}
