We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For localhost IP address i.e 127.0.0.1, Japan comes as the Country. Response is given below:
{ "range": [ 2130444288, 2147483648 ], "country": "JP", "region": "", "eu": "0", "timezone": "Asia/Tokyo", "city": "", "ll": [ 35.6897, 139.6895 ], "metro": 0, "area": 500 }
The text was updated successfully, but these errors were encountered:
lol
Sorry, something went wrong.
Should throw error or return null/undefined for local network ips 172, 192 etc
UPDATE: I looked at geoip-lite and it returns null in these cases.
No branches or pull requests
For localhost IP address i.e 127.0.0.1, Japan comes as the Country.
Response is given below:
The text was updated successfully, but these errors were encountered: