ip_geolocate 1.1.0
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
accuracyKmtoGeoLocation— the radius in km around lat/lon the address is likely within (MaxMind'saccuracy_radius).
1.0.0 #
- Initial release.
geolocate(ip)resolves an IPv4 address to aGeoLocation.- 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.