mockttp
Version:
Mock HTTP server for testing HTTP clients and stubbing webservices
7 lines • 477 B
TypeScript
export declare const isIPv4Address: (ip: string) => boolean;
export declare const isIPv6Address: (ip: string) => boolean;
export declare const isIP: (ip: string) => boolean;
export declare function normalizeIP(ip: string): string;
export declare function normalizeIP(ip: string | null | undefined): string | null | undefined;
export declare const isLocalhostAddress: (host: string | null | undefined) => boolean | RegExpMatchArray | null;
//# sourceMappingURL=ip-utils.d.ts.map