1.0.1 • Published 8 years ago
geoiplookup v1.0.1
Install
npm i --save geoiplookup
# Usage
var getLocationFromIp = require('./index');
var ip = "176.240.155.30";
getLocationFromIp(ip)
.then((data) => {
console.log(data);
})
Output
{ range: 2968558336, 2968558591 , country: 'TR', region: '20', city: 'Denizli', ll: 37.7742, 29.0875 , metro: 0 }