ipinfodb

0.0.1 • Public • Published

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);
});

Readme

Keywords

none

Package Sidebar

Install

npm i ipinfodb

Weekly Downloads

2

Version

0.0.1

License

BSD

Last publish

Collaborators

  • olalonde