cidr-matcher

Fast CIDR matcher. Given an input IPv4 address, it checks if it's inside a set of IP ranges, expressed in CIDR notation.

is-in-subnet

Check if an IPv4 or IPv6 address is contained in the given CIDR subnet