node-geolite2
v0.1.7
Published
This is the pure Node API for reading country and city information from geolite2 database file based on node-maxmind-db
Downloads
242
Maintainers
Readme
This is the pure Node API for reading country and city information from GeoLite2 database file based on node-maxmind-db
Install
$ npm install --save node-geolite2
Usage
var node-geolite2 = require('node-geolite2');
node-geolite2.init();
var location = node-geolite2.getGeoDataSync("118.112.56.251");
console.log(location);
License
MIT © zj8487