UNPKG

bare-server-node

Version:

The Bare Server implementation in NodeJS.

10 lines (9 loc) 307 B
export interface BareRemote { host: string; port: number | string; path: string; protocol: string; } export declare function remoteToURL(remote: BareRemote): import("url").URL; export declare function resolvePort(url: URL): number; export declare function urlToRemote(url: URL): BareRemote;