{"_id":"connect-geoip","_rev":"12-72c78dbb41e8bdd95d907cc5ca303283","name":"connect-geoip","description":"Connect middleware to query client geolocation from geoip data","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"connect-geoip","version":"0.0.1","description":"Connect middleware to query client geolocation from geoip data","keywords":["geoip","connect"],"repository":{"type":"git","url":"git://github.com/Applifier/connect-geoip.git"},"author":{"name":"Jaakko Lukkari","email":"jaakko@applifier.com"},"main":"./index.js","engines":{"node":">= 0.4.1"},"dependencies":{"geoip":"0.4.0final","connect":">= 0.0.1"},"devDependencies":{},"_id":"connect-geoip@0.0.1","_engineSupported":true,"_npmVersion":"1.0.3","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"1bc61c61c9daad4e579f8f56bd3ade032679f20f","tarball":"https://registry.npmjs.org/connect-geoip/-/connect-geoip-0.0.1.tgz","integrity":"sha512-UGSnZawsoSoyH07d7cbJfsVtW39pYJv0LyVp32eG4LW8Jmyiiz5lXFkdt9VPXTYCjZiQC8O5dWdWJG3T9D+N+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFA3pkgPWVt5yzIRm04JqYn/ECjrjULb5TX9g48+kVXAiEAiKZBw/fpZWzKwGBNdHlwKgb1UBTe9rR90+f0pqdnrlE="}]},"scripts":{}},"0.0.2":{"name":"connect-geoip","version":"0.0.2","description":"Connect middleware to query client geolocation from geoip data","keywords":["geoip","connect"],"repository":{"type":"git","url":"git://github.com/Applifier/connect-geoip.git"},"author":{"name":"Jaakko Lukkari","email":"jaakko@applifier.com"},"main":"./index.js","engines":{"node":">= 0.4.1"},"dependencies":{"geoip":"0.4.5","connect":"1.8.2"},"_npmUser":{"name":"orktes","email":"jaakko@applifier.com"},"_id":"connect-geoip@0.0.2","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"dcda21eeb570bb355113f65b06ab36b0e9be50f8","tarball":"https://registry.npmjs.org/connect-geoip/-/connect-geoip-0.0.2.tgz","integrity":"sha512-cxBTqHO6A4mD3wGIlnN9dDAcaWyRUnL7pgEAwunJbPrT0cmcbj9MM+SpXij+pkTbTtd4DlAEnuELYgUQAewofQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGNB8DLQH2gYmWM5b4HIwfEV6U/V7cRIVRCAirKDQVQwIhALlYBVM9fXgZ96++jq6aL8mDzxl0epKSfhkIBn1rxYFC"}]},"maintainers":[{"name":"orktes","email":"jaakko@applifier.com"}]},"0.0.3":{"name":"connect-geoip","version":"0.0.3","description":"Connect middleware to query client geolocation from geoip data","keywords":["geoip","connect"],"repository":{"type":"git","url":"git://github.com/Applifier/connect-geoip.git"},"author":{"name":"Jaakko Lukkari","email":"jaakko@applifier.com"},"main":"./index.js","engines":{"node":">= 0.4.1"},"dependencies":{"geoip":"0.4.4","connect":"1.8.2"},"_npmUser":{"name":"orktes","email":"jaakko@applifier.com"},"_id":"connect-geoip@0.0.3","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"a6a8af97ffb6fb2421aada3ce0ffa0cb7a588fb3","tarball":"https://registry.npmjs.org/connect-geoip/-/connect-geoip-0.0.3.tgz","integrity":"sha512-OrUjKj1A+I/V6tGgY6Y+3snzTh7WRVWacakEN5En7gY8/VNtohVMFS/tU1CfSl2BBPFTvAjOVypYRaXCOPWwKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDitwRyVOQMO63cS597LN0sv643vRShs4gSsOPaojhy+AiA9t/rF6wL9K5a5VX1VlyDOFiA9yOiDHp9o5NvVeDS7SQ=="}]},"maintainers":[{"name":"orktes","email":"jaakko@applifier.com"}]},"0.0.4":{"name":"connect-geoip","version":"0.0.4","description":"Connect middleware to query client geolocation from geoip data","keywords":["geoip","connect"],"repository":{"type":"git","url":"git://github.com/Applifier/connect-geoip.git"},"author":{"name":"Jaakko Lukkari","email":"jaakko@applifier.com"},"main":"./index.js","engines":{"node":">= 0.4.1"},"dependencies":{"geoip":"0.4.4","connect":"1.8.2"},"_npmUser":{"name":"orktes","email":"jaakko@applifier.com"},"_id":"connect-geoip@0.0.4","devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"80f9bd1d3280a99606460b0ddfd64b4e41ad16a1","tarball":"https://registry.npmjs.org/connect-geoip/-/connect-geoip-0.0.4.tgz","integrity":"sha512-TDdHvOTx82rbB3Vm8m9xS/2plygcgCs8YIyWbJ/QCHqgqNGDMHtxcmGOPb8NIPlf1JRFkP8sdXtdwsWppGn+hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIER+ipNqNKREOogtwcZmLj5tpn3ubev2XcWBg4N85n9OAiEAsbs4PuTlLkMEl2Qu900EhsNocIjG8kFgkf6Z5Cnzuls="}]},"maintainers":[{"name":"orktes","email":"jaakko@applifier.com"}]}},"maintainers":[{"name":"orktes","email":"jaakko@applifier.com"},{"name":"mikkolehtinen","email":"m+npm@mikkolehtinen.com"}],"time":{"modified":"2022-06-13T21:30:58.618Z","created":"2011-06-23T11:27:26.893Z","0.0.1":"2011-06-23T11:27:27.683Z","0.0.2":"2011-12-12T10:03:45.146Z","0.0.3":"2011-12-15T10:09:41.226Z","0.0.4":"2012-03-12T09:13:08.522Z"},"author":{"name":"Jaakko Lukkari","email":"jaakko@applifier.com"},"repository":{"type":"git","url":"git://github.com/Applifier/connect-geoip.git"},"keywords":["geoip","connect"],"readme":"# connect-geoip\nConnect middleware to query client geolocation from geoip data (at the moment country data is the only data retrieved).\n## Installation\n    $ npm install connect-geoip\nIf you have problems with the geoip package, turn to https://github.com/kuno/GeoIP for instructions.\n## Basic example\nExample below returns geoip details (country) for every request.\n\n    var connect = require('connect');\n    var geoip = require('connect-geoip');\n\n    connect.createServer(\n      geoip.geoip(),\n      function(req, res, next) {\n        res.end(JSON.stringify(req.geoip));\n        // {\"country\":{\"country_code\":\"US\",\"country_code3\":\"USA\",\"country_name\":\"United States\",\"continent_code\":\"NA\"}}\n      }\n    ).listen(3000);\n\n## Defining a specific path to geoip data\n    geoip.geoip({path : \"/tmp/GeoIP.dat\"});\n\n## Licenses\nGeoIP module used (https://github.com/kuno/GeoIP) is licensed under GNU LGPL.\n\nOther:<br />\n(The MIT License)\n\nCopyright(c) 2011 Applifier Ltd.<br />\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","readmeFilename":""}