ipinfodb

Wrapper for ipinfodb.com API (ip to timezone)

npm install ipinfodb
4 downloads in the last month

Wrapper for ipinfodb.com's IP geolocation API.

Install

npm install ipinfodb

Usage

var key = '....';
client = require('ipinfodb')({ key: key });

client.geolocate('106.186.17.133', function (err, res) {
  console.log(res);
});

client.ip2timezoneOffset('106.186.17.133', function (err, timezoneOffset) {
  console.log(timezoneOffset);
});
npm loves you