ip_geolocate 1.1.0 copy "ip_geolocate: ^1.1.0" to clipboard
ip_geolocate: ^1.1.0 copied to clipboard

IPv4 geolocation from the free geolite2-city-json static dataset (MaxMind GeoLite2-City): country, region, city and coordinates for an IP address.

1.1.0 #

  • Add accuracyKm to GeoLocation — the radius in km around lat/lon the address is likely within (MaxMind's accuracy_radius).

1.0.0 #

  • Initial release.
  • geolocate(ip) resolves an IPv4 address to a GeoLocation.
  • In-memory LRU cache of the last few addresses and per-IP request coalescing.
  • Pure decodeSixteen(...) / parseIpv4(...) helpers for offline use and tests.
  • Only runtime dependency is package:http.
0
likes
160
points
1.07k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

IPv4 geolocation from the free geolite2-city-json static dataset (MaxMind GeoLite2-City): country, region, city and coordinates for an IP address.

Repository (GitHub)
View/report issues

Topics

#geolocation #geoip #ip #maxmind

License

MIT (license)

Dependencies

http

More

Packages that depend on ip_geolocate