{"_id":"public-address","_rev":"8-00b5c1319021be29ef9d2f55f047c30f","name":"public-address","description":"Resolve public IP address and hostname","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"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"},"_id":"public-address@0.1.0","dist":{"shasum":"92e6ae2d69f90da0eaf7ca5a74f1d3e7aadc8db5","tarball":"https://registry.npmjs.org/public-address/-/public-address-0.1.0.tgz","integrity":"sha512-sgfa3lN7cf2/Pb4vTnmm1NEke3GW3mLhtmBvVE+1RLtuaAiDrzbUYwmDRB3+Rr77u1JUvzte3VfUW3DbWcMo/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHX3IGVRSYnlLIo2k5YX3Oh/sZ7A5eT2XKgljxkE+/VrAiAyYB+MMSrPwBuGuiUt03xiTwwZdnR53w+bKcGrMMKfCA=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"0.1.1":{"name":"public-address","version":"0.1.1","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"},"_id":"public-address@0.1.1","dist":{"shasum":"58bdea323c88287b6914159312454b804ca9eeaf","tarball":"https://registry.npmjs.org/public-address/-/public-address-0.1.1.tgz","integrity":"sha512-mHj8nm4tQwSnDNXX10MRSZyfle9allQJL31q+QAB2IPGVfQwUWNrCKnu5BBfdSAi2QkQaSICqVoiEnKzmstRbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPyZhvrWBJVMPKVBeJqXOindn9nEA8K2CnvMSFqrDsrQIhAOpu+UCuYvk9yVVW36fwnSKeAr056OIm5dKDMQbkYVXm"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"andris","email":"andris@node.ee"},"maintainers":[{"name":"andris","email":"andris@node.ee"}]},"0.1.2":{"name":"public-address","version":"0.1.2","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.10.2"},"gitHead":"135d4211185b2873bdf5d603426067429c007c60","_id":"public-address@0.1.2","_shasum":"f95f3e0cf28b89f965b0f188fd1267ac0856552f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"andris","email":"andris@kreata.ee"},"dist":{"shasum":"f95f3e0cf28b89f965b0f188fd1267ac0856552f","tarball":"https://registry.npmjs.org/public-address/-/public-address-0.1.2.tgz","integrity":"sha512-UuNkKRwenn0kQvTCU8LIz3pUslFTbN2FrtKYWiKUOU7Qqxw0Vf879YY2Qc5Ne6JGWi9+lOcW83fdYs8wblh0iQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyzWpB6FolR2yUBon8Wyb5+mFqVMX1X/RUVeeZ/aHk7gIgXSMP+K5S+mI8mD2VHODROeh5PWlq/W+bV4HoVrNBzuA="}]},"maintainers":[{"name":"andris","email":"andris@node.ee"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/public-address-0.1.2.tgz_1479974204093_0.7122597198467702"}}},"readme":"# public-address\n\nResolve the public IP address and hostname of your current machine.\n\nThis module makes a HTTP request to https://www.ipify.org/ 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","maintainers":[{"name":"andris","email":"andris@node.ee"}],"time":{"modified":"2022-06-24T23:19:52.193Z","created":"2013-12-12T21:28:54.790Z","0.1.0":"2013-12-12T21:28:59.194Z","0.1.1":"2014-05-13T06:06:15.089Z","0.1.2":"2016-11-24T07:56:46.164Z"},"author":{"name":"Andris Reinman"},"repository":{"type":"git","url":"git://github.com/andris9/public-address.git"},"homepage":"https://github.com/andris9/public-address","bugs":{"url":"https://github.com/andris9/public-address/issues"},"license":"MIT","readmeFilename":"README.md"}