get-geo-fiv
v0.2.1
Published
Get geo info by ip address via http://ip-api.com
Downloads
23
Readme
#Get-geo
Get geo info by ip address via http://ip-api.com
Installation
$ npm install -g get-geo-fiv
Usage
Get geo info by specified ip address
$ get-geo 134.234.3.2
returns json
{
"as": "AS1586 DoD Network Information Center",
"city": "Sierra Vista",
"country": "United States",
"countryCode": "US",
"isp": "DoD Network Information Center",
"lat": 31.5552,
"lon": -110.35,
"org": "USAISC",
"query": "134.234.3.2",
"region": "AZ",
"regionName": "Arizona",
"status": "success",
"timezone": "America/Phoenix",
"zip": "85613"
}
Get geo info by your current ip address
$ get-geo