{"_id":"iptocountry","_rev":"29-0e094683d6d48731d6d9e45302e17335","name":"iptocountry","description":"A module for detecting country information of IP addresses without any API call","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.1":{"name":"iptocountry","version":"0.0.1","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"test":"node ./test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","request":"2.34.x"},"_id":"iptocountry@0.0.1","dist":{"shasum":"99e5174c209d47576407364d71fc01e607730589","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.0.1.tgz","integrity":"sha512-U7bcVRYmDbNCbmMwjlUYp0q9Dkn6bOxuXjzSWGXefBzYVfB+Kqag9fmf6Hty3kpoIjjVDhiSPeXBtDnXLdxQoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7uldAyASGvUWosZ03mCurkEpE0hspxwThbshBriW0oQIgBQnfTcVZvnOhpvVfF6fVC290YNJmFccv2BTrMi3xS3c="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.1.0":{"name":"iptocountry","version":"0.1.0","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"test":"node ./test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.x.x"},"_id":"iptocountry@0.1.0","dist":{"shasum":"ba8b603ffb52de4955bdc1ae8f38e397c769065e","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.1.0.tgz","integrity":"sha512-q6dsXk92aVktFwKpVkGm4uiV+Me9qdKzyvJuFy78TVwQAgE2jfd8LW0LS+Qi7h09n+G7cxxn20axPmvsLtTbYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY0k6zLexf7tFZL+8ZEMc/6NQHvlpMHTzezohB5lYRVAIhAMrSo2tsdLEq1jmX+SFCIdTQtceVyPMwIAoykBKa7hXE"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.1.1":{"name":"iptocountry","version":"0.1.1","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"test":"node ./test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.x.x"},"_id":"iptocountry@0.1.1","dist":{"shasum":"8aed1a3b37093b927470715ffe5ea9f9df0388cb","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.1.1.tgz","integrity":"sha512-zMu9Byx8ik0oRo42jKCw8QgiyMWz6O457YfX36ew17J4sviUA2PfpMQnQ76AnfsdNOiCdPA/z2gSeoeQtf3cwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4i77GKXQ5lDYXl4jcnjLX75KQsV8VRGAHfxvQsBDsxwIhAKO3pQwM0t9OZyFQiLuNpXLjXVvZ9h82j+P+os8J7O/L"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.1.2":{"name":"iptocountry","version":"0.1.2","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"test":"node ./test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.x.x"},"_id":"iptocountry@0.1.2","dist":{"shasum":"116740570d4bf28ba2bae3d907adaec3ba53ff51","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.1.2.tgz","integrity":"sha512-pPkaB1w7CuYHjqZjAwyfd0wnaGp4JVrN+D8D5ui6Insk2I8vmaX4rJsGrW0Tj5CKAk3p6Xi+zVRulwSYUQKhhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxZTX0C1vclD1lqf+/7dWxeqmB7WUwhMHQ59i+h96HwwIhAOyt4zoxTmYE2YZ0in5NBJGZVceIyob6S3fJdmDq2JGV"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.2.0":{"name":"iptocountry","version":"0.2.0","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country","lookup"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"start":"node ./test/test-http.js","test":"node ./test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.x.x"},"_id":"iptocountry@0.2.0","dist":{"shasum":"9de03030c5ca6168e022f817dc31683b9ae9ab66","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.2.0.tgz","integrity":"sha512-EBNHDFX2wBbPkWvDnuuex2NglYWil7Hp4dXTEMKlzeCbjM2ovBxSy/ed1r1gtXSy0X/OW3vQ6Y8kWi+NbZnxsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8X+cvJkR14Tyn8x4SCssjY6zBNOD1matX/nmyQZPEVAIgYK/9c/2IjgfVWIvNYwrnHAewPcZfqecp87TFYnabJjI="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.2.1":{"name":"iptocountry","version":"0.2.1","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country","lookup"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"start":"node ./test/test-http.js","test":"node ./test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.x.x"},"_id":"iptocountry@0.2.1","dist":{"shasum":"c66cc844f07baef50147d118b2e5f255f628888e","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.2.1.tgz","integrity":"sha512-OZgeP0MOvQnjpSJCkaAgLGfeRril7Vt8W5dmfQSPoYNVJDiVi/SpCv9ZGjExK2Bu9SDHuJnPJvj7Aum5Rv1xzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUDivI+cB6WZ7W69vlCDlNGnmfVKo2t7RYPFktU3pRmQIgD2I86VJcQddWkMgydmiJzxiom/1Ma1/HGoLPdFtqNu4="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.2.2":{"name":"iptocountry","version":"0.2.2","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country","lookup"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"start":"node app/index.js","test":"node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.x.x"},"devDependencies":{"chai":"*","mocha":"*"},"_id":"iptocountry@0.2.2","dist":{"shasum":"62552728b64dae92a9cc9231d673f3f80e21f557","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.2.2.tgz","integrity":"sha512-Mof7ymOtY30q71/UfVfx34Rt7UMnAqxwwthcf9f5kSRQwHNa585LXLnCLeE0XfzKmVJPQIHOcIRgq2ErG8cMuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMFTJFX/UbQUDHXz73jFddFjx3PgTC7Zc8Vkyi9CqRqAiAFgJYJ+XQayPnk60kvqRMh5Lynz9lH5cimhxj0a1Z2NA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.2.3":{"name":"iptocountry","version":"0.2.3","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country","lookup"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"start":"node app/index.js","test":"node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.x.x"},"devDependencies":{"chai":"*","mocha":"*"},"_id":"iptocountry@0.2.3","dist":{"shasum":"2c80f81398c073fd9749f77f7b92d1de87920973","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.2.3.tgz","integrity":"sha512-dOjGT9FppGsFXQmxhLCta+5mxJtU6tL3rkCQT+EE/wmgaH111eH5ZgM1xCVain8+0mjAFXaR0nBnitvaq0IQIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2LBqVpeB6E6GJEpa4hP2gQk4xkjgENONY2IEQKQtsWAiEA6vefmqwCTtf3FBLnY+fvQnA7Febc2O2sA77L+SBXiPo="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"0.2.4":{"name":"iptocountry","version":"0.2.4","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country","lookup"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"./lib/iptocountry.js","scripts":{"start":"node app/index.js","test":"node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"},"engines":["node >= 0.10.21"],"dependencies":{"utilex":"0.2.x","q":"1.0.x"},"devDependencies":{"chai":"*","mocha":"*"},"_id":"iptocountry@0.2.4","dist":{"shasum":"2bd42c73bbc3dcfcee6b17388f33a47e86560185","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-0.2.4.tgz","integrity":"sha512-Om5lo+85TdKrrATXEeNjzG5uvqS1gncOFe94OEa7AC/q54khormsJk1hkKknOObI2OgPoSKuSJ4WIVp0fvqB9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxNVLCWds8YjWAHezeA3YfoJ54yBJihIAkub9zqVy/bAiEAsrEloBzmJitb4R4NK7Ic5hTTHYEPpoV0ZJ0jm9wlKCw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"1.0.0":{"name":"iptocountry","version":"1.0.0","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country","lookup"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"lib/iptocountry.js","scripts":{"start":"node app/index.js","test":"node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"},"engines":["node >= 0.10.0"],"dependencies":{"utilex":"1.0.x","q":"1.0.x"},"devDependencies":{"mocha":"1.20.x","chai":"1.9.x"},"_id":"iptocountry@1.0.0","dist":{"shasum":"1086610524ebf5fbaffbae881d47ead98e2706d1","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-1.0.0.tgz","integrity":"sha512-B1zs3kYDveTDfXTWook8bQoIHVOwWh2qhdUX8oLDCSVy2Urd/rbVcze8L+WPNKAhXU4bZm4VKIAdHYUZTfk+Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7Ug0izNPJQ6mBcTUhKQnhEDgPVLQXGUf+KX339hLm3AiEAlKeurk+NhNJC6oq5NM/Bd44kJ7b/f3iN6nDo5WKzo2k="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}]},"1.0.1":{"name":"iptocountry","version":"1.0.1","description":"IP to Country module can be used for detecting country information of IP addresses without any API call.","keywords":["ip","country","lookup"],"homepage":"http://github.com/cmfatih/iptocountry","repository":{"type":"git","url":"https://github.com/cmfatih/iptocountry.git"},"bugs":{"url":"http://github.com/cmfatih/iptocountry/issues"},"license":"MIT","private":false,"author":{"name":"cmfatih","url":"http://github.com/cmfatih"},"contributors":[],"main":"lib/iptocountry.js","scripts":{"start":"node app/index.js","test":"node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"},"engines":["node >= 0.10.0"],"dependencies":{"utilex":"1.0.x","q":"1.0.x"},"devDependencies":{"mocha":"2.2.x","chai":"2.1.x"},"gitHead":"f127af660abdda377783c43b837ffe873031d0c7","_id":"iptocountry@1.0.1","_shasum":"63b05bb4857ad4a4b0079306af08969df15a62a0","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.36","_npmUser":{"name":"cmfatih","email":"cmuratfatih@gmail.com"},"maintainers":[{"name":"cmfatih","email":"cmuratfatih@gmail.com"}],"dist":{"shasum":"63b05bb4857ad4a4b0079306af08969df15a62a0","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-1.0.1.tgz","integrity":"sha512-21TABWyXPFud8i12R6clmAPsb6hDojjSHAoTFPRrMrdHr7GEOq9oNHfxSAP1TitJ585ZucF3bBamEpJyjKAiqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9AIJ5BF6KvNWb2VF06gHVljfnjbTS4aY3FJEMwQ1K1AiA4P3+ZiRdV6yltSgri3VJSOeSMUbQU0Lp1EieR2ykfDQ=="}]}},"1.0.2":{"name":"iptocountry","version":"1.0.2","description":"A module for detecting country information of IP addresses without any API call","main":"lib/iptocountry.js","scripts":{"start":"node app/index.js","test":"node node_modules/mocha/bin/mocha --reporter spec test/test-all.js"},"repository":{"type":"git","url":"git+https://github.com/devfacet/iptocountry.git"},"keywords":["ip","country","lookup"],"author":{"name":"devfacet"},"license":"MIT","homepage":"http://github.com/devfacet/iptocountry","dependencies":{"utilex":"3.x.x","q":"1.4.x"},"devDependencies":{"mocha":"3.2.x","chai":"3.5.x"},"gitHead":"c54c83e9bd0cd8c560297176afb62c2ea6f5eaba","bugs":{"url":"https://github.com/devfacet/iptocountry/issues"},"_id":"iptocountry@1.0.2","_shasum":"9120356a5b316ff75f13f11de10cc55273b1c9da","_from":".","_npmVersion":"3.10.10","_nodeVersion":"4.3.2","_npmUser":{"name":"devfacet","email":"cmuratfatih@gmail.com"},"dist":{"shasum":"9120356a5b316ff75f13f11de10cc55273b1c9da","tarball":"https://registry.npmjs.org/iptocountry/-/iptocountry-1.0.2.tgz","integrity":"sha512-5vejGyu4G6QA9j9KDAavninFfY7lMc6Z4a9shDOvhQ0/bleKNx1bbVgvOxYicLNhzYTiaLVX30B0mzvKl/5A/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6KwlHHXoJbIBUAfdQDbySiIk4Ng+o3usNpUC6aag1IwIgUpjMGfxl5q8Aje4FqppQXq61FYvLpwP057/UXj/VXQo="}]},"maintainers":[{"name":"devfacet","email":"devfacet@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/iptocountry-1.0.2.tgz_1488692716239_0.3395116599276662"}}},"readme":"# IP to Country\n\n[![NPM][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n\nIP to Country is a module for detecting country information of IP addresses without any API call.\n\n## Installation\n\n```bash\nnpm install iptocountry\n```\n\n## Usage\n\n### REST API\n\n```bash\nnpm start\n\n# See http://localhost:12080/search?ip=74.125.225.71\n# See http://localhost:12080/search?ip=74.125.225.71,98.138.253.109\n```\n\n### Download IP database\n\n```javascript\nvar ip2co = require('iptocountry');\n\nif(ip2co.dbCSVCheckExp(48)) {\n  ip2co.dbGet().then(function() {\n    console.log('done!');\n  }, function(err) {\n    console.log(err);\n  });\n}\n// done!\n```\n\n### Search IP addresses\n\n```javascript\nvar ip2co = require('iptocountry');\n\nvar ipSearch = ip2co.ipSearch(['74.125.225.71', '98.138.253.109']);\nif(!ipSearch.error) {\n  console.log(JSON.stringify(ipSearch, null, 2));\n} else {\n  console.log(ipSearch.error);\n};\n\n/*\n{\n  \"data\": {\n    \"74.125.225.71\": {\n      \"ip\": \"74.125.225.71\",\n      \"ipNum\": 1249763655,\n      \"registery\": \"arin\",\n      \"assigned\": \"1173744000\",\n      \"coCode2\": \"US\",\n      \"coCode3\": \"USA\",\n      \"country\": \"United States\",\n      \"time\": \"2007-03-13 00:00:00\",\n      \"found\": true\n    },\n    \"98.138.253.109\": {\n      \"ip\": \"98.138.253.109\",\n      \"ipNum\": 1653276013,\n      \"registery\": \"arin\",\n      \"assigned\": \"1196985600\",\n      \"coCode2\": \"US\",\n      \"coCode3\": \"USA\",\n      \"country\": \"United States\",\n      \"time\": \"2007-12-07 00:00:00\",\n      \"found\": true\n    }\n  },\n  \"warnings\": [],\n  \"timeE\": 51\n}\n*/\n```\n\n### Listen HTTP requests\n\n```javascript\nvar ip2co = require('iptocountry');\n\nip2co.dbLoad();\nip2co.listenHTTP({hostname: 'localhost', 'port': 12080});\n\n// See http://localhost:12080/search?ip=74.125.225.71\n```\n\nFor performance test; `ab -n 1000 http://localhost:12080/search?ip=74.125.225.71`\n\n## Notes\n\n* It uses [Webnet77](http://software77.net/geo-ip/) for IP database file. It represents\n  the over 4 billion IPV4 numbers as well as the virtually inexhaustible IPV6 range (3.4e+38).\n  There is limit for downloads, for more information see [FAQ](http://software77.net/faq.html)\n\n### Implementations\n\n- [x] IPv4\n- [ ] IPv6\n\n## License\n\nLicensed under The MIT License (MIT)  \nFor the full copyright and license information, please view the LICENSE.txt file.\n\n[npm-url]: http://npmjs.org/package/iptocountry\n[npm-image]: https://badge.fury.io/js/iptocountry.svg\n\n[travis-url]: https://travis-ci.org/devfacet/iptocountry\n[travis-image]: https://travis-ci.org/devfacet/iptocountry.svg?branch=master\n","maintainers":[{"name":"devfacet","email":"devfacet@gmail.com"}],"time":{"modified":"2022-06-19T02:28:27.783Z","created":"2014-03-27T20:08:10.259Z","0.0.1":"2014-03-27T20:08:10.259Z","0.1.0":"2014-04-01T01:43:02.158Z","0.1.1":"2014-04-01T03:43:27.205Z","0.1.2":"2014-04-10T03:26:07.646Z","0.2.0":"2014-04-14T00:38:32.220Z","0.2.1":"2014-04-21T06:48:36.354Z","0.2.2":"2014-04-26T13:03:54.657Z","0.2.3":"2014-04-29T10:02:46.902Z","0.2.4":"2014-05-22T13:08:15.723Z","1.0.0":"2014-07-04T22:24:50.485Z","1.0.1":"2015-03-15T21:08:24.897Z","1.0.2":"2017-03-05T05:45:16.873Z"},"homepage":"http://github.com/devfacet/iptocountry","keywords":["ip","country","lookup"],"repository":{"type":"git","url":"git+https://github.com/devfacet/iptocountry.git"},"author":{"name":"devfacet"},"bugs":{"url":"https://github.com/devfacet/iptocountry/issues"},"license":"MIT","readmeFilename":"README.md","users":{"f124275809":true}}