UNPKG

network-performance-monitor

Version:

A comprehensive network performance monitoring tool that continuously tests and tracks your network's performance over time

19 lines 552 B
export interface NetworkInfo { name: string; isWifi: boolean; interface: string; gateway: string; } export declare class NetworkDetector { private static instance; private currentNetwork; private lastCheck; private readonly CACHE_DURATION; static getInstance(): NetworkDetector; getCurrentNetwork(forceRefresh?: boolean): Promise<NetworkInfo>; private detectNetwork; private detectNetworkMacOS; private detectNetworkLinux; private detectNetworkWindows; } //# sourceMappingURL=networkInfo.d.ts.map