UNPKG

han-prev-core

Version:

Core framework for Han - A powerful Node.js framework inspired by NestJS

19 lines (18 loc) 589 B
export interface EnvironmentInfo { isContainer: boolean; isProduction: boolean; isDevelopment: boolean; defaultHost: string; defaultPort: number; publicUrl: string | undefined; } export declare class EnvironmentDetector { static detect(): EnvironmentInfo; private static detectContainer; private static detectProduction; private static getDefaultHost; private static getDefaultPort; private static detectPublicUrl; static getNetworkInterfaces(): string[]; static getDisplayUrl(host: string, port: number, https?: boolean): string; }