{
  "name": "public-address",
  "version": "0.1.0",
  "description": "Resolve public IP address and hostname",
  "main": "index.js",
  "scripts": {
    "test": "nodeunit tests/"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/andris9/public-address.git"
  },
  "author": {
    "name": "Andris Reinman"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/andris9/public-address/issues"
  },
  "homepage": "https://github.com/andris9/public-address",
  "devDependencies": {
    "nodeunit": "~0.8.2"
  },
  "readme": "# public-address\n\nResolve the public IP address and hostname of your current machine.\n\nThis module makes a HTTP request to www.remoteaddress.net IP resolving service.\n\n## Installation\n\n    npm install public-address\n\n## Usage\n\n    var publicAddress = require(\"public-address\");\n    publicAddress([options,] callback);\n\nWhere\n\n  * **options** - an optional options object. Everything in this object is passed to the HTTP request object (eg. `agent`, `localAddress` etc.)\n  * **callback** - function to run once the resolving succeeded or failed. Has error object and response data as arguments\n\nThe data argument for `callback` has the following properties\n\n  * **address** - public IP address\n  * **hostname** - (if available) hostname of the IP address\n\n## Example\n\nResolve public IP:\n\n    publicAddress(function(err, data){\n        console.log(err || data);\n    });\n\nExample response:\n\n    {\n        \"address\": \"193.152.61.139\",\n        \"hostname\": \"gprs-inet-61-139.example.com\"\n    }\n\n## License\n\n**MIT**\n",
  "readmeFilename": "README.md",
  "_id": "public-address@0.1.0",
  "dist": {
    "shasum": "ad53d928fd773da9e1d86c7f1826c55af1d6f219"
  },
  "_from": "public-address@~0.1.0",
  "_resolved": "https://registry.npmjs.org/public-address/-/public-address-0.1.0.tgz"
}
