UNPKG

ip-address

Version:

A library for parsing IPv4 and IPv6 IP addresses in node and the browser.

6 lines (5 loc) 379 B
export declare function groupPossibilities(possibilities: string[]): string; export declare function padGroup(group: string): string; export declare const ADDRESS_BOUNDARY = "[^A-Fa-f0-9:]"; export declare function simpleRegularExpression(groups: string[]): string; export declare function possibleElisions(elidedGroups: number, moreLeft?: boolean, moreRight?: boolean): string;