UNPKG

cidr-block

Version:

ipv4 and ipv6 address and cidr range utilities

9 lines (8 loc) 311 B
import { Ipv4Address } from './ipv4-address'; /** * Predicate function that will return true if the given * address is in the private RFC 1918 ipv4 address space. * * See more {@link https://datatracker.ietf.org/doc/html/rfc1918} */ export declare function isPrivateRFC1918(address: Ipv4Address): boolean;