Maxmind Legacy
Simple maxmind wrapper for legacy files.
This package allow to use legacy maxmind files like new geoip2 format.
This package include maxmind@0.6
package, so, you can use both formats in same project.
Use this package like maxmind package at version 1.3
Usage
const maxmind = ; const maxmindLegacy = ; const IP = '00.00.00.00'; /* Here, we have the new geoip2 format ( *.mmdb), so we use last maxmind package */const geoCountry = maxmind;console; /* And here, we have the legacy file format (*.dat), so we use maxmind-legacy */const geoIsp = maxmindLegacy;console;
TODO
- map cache options