IP2Location ES6 Module
Install
npm install ip2location-es6
Response Data
"ip": "?",
"ip_no": "?",
"country_short": "?",
"country_long": "?",
"region": "?",
"city": "?",
"isp": "?",
"latitude": "?",
"longitude": "?",
"domain": "?",
"zipcode": "?",
"timezone": "?",
"netspeed": "?",
"iddcode": "?",
"areacode": "?",
"weatherstationcode": "?",
"weatherstationname": "?",
"mcc": "?",
"mnc": "?",
"mobilebrand": "?",
"elevation": "?",
"usagetype": "?",
"status": "?"
Function
Usage demo
const IP2Location = ;let ip2loc = processenvDB_IP2LOCATION_BIN_PATH;let result = ip2loc;console;