UNPKG

cidr-block

Version:

ipv4 and ipv6 address and cidr range utilities

10 lines (9 loc) 353 B
import { Ipv4Address } from './ipv4-address'; /** * Type that indicates a literal string or number value that represents an IPv4 address */ export declare type Ipv4Literal = string | number; /** * Type that indicates either a literal value or an address instance that is an IPv4 */ export declare type Ipv4Representable = Ipv4Address | Ipv4Literal;