Skip to content

This is the pure Node API for reading country and city information from GeoLite2 database file based on node-maxmind-db

License

Notifications You must be signed in to change notification settings

zj8487/node-geolite2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version Build Status Dependency Status

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 geolite = require('node-geolite2');
geolite.init();
var location = geolite.getGeoDataSync("118.112.56.251");
console.log(location);

License

MIT © zj8487

About

This is the pure Node API for reading country and city information from GeoLite2 database file based on node-maxmind-db

Resources

License

Stars

Watchers

Forks

Packages

No packages published