geoiplookup

1.0.1 • Public • Published

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 }

Readme

Keywords

none

Package Sidebar

Install

npm i geoiplookup

Weekly Downloads

2

Version

1.0.1

License

ISC

Last publish

Collaborators

  • cagataycali