{"_id":"client-ip","_rev":"1745703","name":"client-ip","description":"Get the client IP address of the current request","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"time":{"modified":"2026-11-19T14:29:34.000Z","created":"2014-07-29T17:40:53.949Z","1.0.0":"2016-09-26T11:30:41.322Z","0.2.0":"2016-05-13T17:06:20.671Z","0.1.0":"2014-07-29T17:40:53.949Z"},"users":{"qodesmith":true},"author":{"name":"Scott Corgan"},"repository":{"type":"git","url":"git+https://github.com/scottcorgan/client-ip.git"},"versions":{"1.0.0":{"name":"client-ip","version":"1.0.0","description":"Get the client IP address of the current request","main":"index.js","scripts":{"test":"node test | tap-format-spec"},"repository":{"type":"git","url":"git+https://github.com/scottcorgan/client-ip.git"},"devDependencies":{"@tap-format/spec":"github:tap-format/spec","tape":"^4.6.0"},"keywords":["client","ip","request","remote","address","x-forward-for"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/client-ip/issues"},"homepage":"https://github.com/scottcorgan/client-ip","gitHead":"056773ac6ec94db39e2767b3ba3e3f918030e3ae","_id":"client-ip@1.0.0","_shasum":"15ba8f5209823f0367a6d60bc41b8abf4167fe15","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"dist":{"shasum":"15ba8f5209823f0367a6d60bc41b8abf4167fe15","tarball":"http://registry-npm.ywwl.com/client-ip/download/client-ip-1.0.0.tgz","integrity":"sha512-HuLFMn3a98oJ/dG7/FC+KmfKN/eOVDmmZtv2ksQZOUqVRw/f5TjcDfWhHo1eEyfOPwv22u7tXFdzDK4HYFltUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEoRrnOmbR2rxiwVMz046Yg7tq/sJ1cT8Ketuk4cfHmAIgUdNbMZPywIxZ1jLEjfIUdGzg63YU2cmdCScrcgZmyTc="}],"size":2078,"noattachment":false,"key":"/client-ip/-/client-ip-1.0.0.tgz"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/client-ip-1.0.0.tgz_1474889439318_0.647232670802623"},"publish_time":1474889441322,"_cnpm_publish_time":1474889441322},"0.2.0":{"name":"client-ip","version":"0.2.0","description":"Get the client IP address of the current request","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/scottcorgan/client-ip.git"},"keywords":["client","ip","request","remote","address","x-forward-for"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/client-ip/issues"},"homepage":"https://github.com/scottcorgan/client-ip","gitHead":"52e0f3258dc58f974551a995cbd55ad15905c3fa","_id":"client-ip@0.2.0","_shasum":"e05c9b265a5afb3474fa74e5cf58b61cc321af15","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"dist":{"shasum":"e05c9b265a5afb3474fa74e5cf58b61cc321af15","tarball":"http://registry-npm.ywwl.com/client-ip/download/client-ip-0.2.0.tgz","integrity":"sha512-VWdT4KAPo3gn1wAyDrvA5X36LJhZ3EsgD70/+am4VLEmL9xmwNWM4o4fKxqYgOXm0twL18HHaAPpB8aINUQFYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvyA00v9jvYXMxO8LgF1oXRJB8SbnNTbQuun1hTME8hgIhAPHRP9zAJ8mRPj/WzHubXDmNUqBjKEOUPelTPNBoUVfp"}],"size":1771,"noattachment":false,"key":"/client-ip/-/client-ip-0.2.0.tgz"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/client-ip-0.2.0.tgz_1463159178880_0.23880668519996107"},"publish_time":1463159180671,"_cnpm_publish_time":1463159180671},"0.1.0":{"name":"client-ip","version":"0.1.0","description":"Get the client IP address of the current request","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/scottcorgan/client-ip.git"},"keywords":["client","ip","request","remote","address","x-forward-for"],"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/client-ip/issues"},"homepage":"https://github.com/scottcorgan/client-ip","gitHead":"b08824da7d23ccab2e7ba6375df34d9935ce602e","_id":"client-ip@0.1.0","_shasum":"0c1addf2c4a64ed2a44b9cf87f02005a550225cb","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"dist":{"shasum":"0c1addf2c4a64ed2a44b9cf87f02005a550225cb","tarball":"http://registry-npm.ywwl.com/client-ip/download/client-ip-0.1.0.tgz","integrity":"sha512-ZnX/MjPNN9MXD26Y41n82f5+BaP345/LXb5lM1AkeIW5HyUmu2f/tSoeb2VnnoauupD7DqcFWOy2C0LW7yy5Sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDO+GhQGZlPV5EatwmE+j3tu9EvULR5C4MBkQ4a6yT9KQIgTps04tZPlfuxLmO4sIKpor0iyyHhhr9UJ/hi9KxtWtE="}],"size":1774,"noattachment":false,"key":"/client-ip/-/client-ip-0.1.0.tgz"},"publish_time":1406655653949,"_cnpm_publish_time":1406655653949}},"readme":"# client-ip\n\nGet the client IP address of the current request\n\n## Install\n\n```\nnpm install client-ip --save\n```\n\n## Usage\n\n```js\nvar http = require('http');\nvar clientIp = require('client-ip');\n\nhttp.createServer(function (req, res) {\n  var ip = clientIp(req);\n  res.end(ip);\n}).listen(3000);\n```\n\n### clientIp(request)\n\n* `request` - REQUIRED: http/https server request object\n","_attachments":{},"homepage":"https://github.com/scottcorgan/client-ip","bugs":{"url":"https://github.com/scottcorgan/client-ip/issues"},"license":"MIT"}