geoip-database
GeoLite2 databases packaged for npm. Contains GeoLite2-City.mmdb and GeoLite2-Country.mmdb files.
Install
npm install geoip-database
Usage
Ideally used together with maxmind or other geoip module that requires geoip database installed separately.
const database = ;const maxmind = ;const cityLookup = maxmind; const city country location = cityLookup;console; // Prague
License
The GeoLite2 databases are distributed under the Creative Commons Attribution-ShareAlike 4.0 International License.
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.