afo-geoip-mmdat

MaxMind GeoIP Legacy Database Driver

Usage no npm install needed!

<script type="module">
  import afoGeoipMmdat from 'https://cdn.skypack.dev/afo-geoip-mmdat';
</script>

README

GeoIP

See examples/example.js.

  • Loads and caches multiple MaxMind GeoIP Legacy DAT binaries.
  • Supports both GeoLite and paid GeoIP legacy databases.
  • Supports Country, City, Organization and ISP databases.
  • Aggregates data from multiple databases (if available).
  • Supports hot-loading of new DATs (purges old ones).