This package provides converters of IP ranges to CIDR IP networks (both for IPv4 and IPv6).
Typical use case of this package is for converting IP range lists (geolocation, blacklists etc.) for storage in radix trees for fast lookup.
C implementation used for inspiration.