@platform/cell.schema
Version:
URI and database schemas for the `cell.os`.
11 lines (10 loc) • 585 B
TypeScript
import { t } from '../common';
export declare function toPort(input: string): number | undefined;
export declare function stripHttp(input: string): string;
export declare function stripPort(input: string): string;
export declare function stripSlash(input: string): string;
export declare function stripSlashStart(input: string): string;
export declare function stripSlashEnd(input: string): string;
export declare function toProtocol(input: string): t.HttpProtocol;
export declare function isInternalIP(input: string): boolean;
export declare function isLocal(input: string): boolean;