README
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 }