UNPKG

@shorkiedev/mc-status

Version:

A simple ESM package that can check multiple minecraft server status.

11 lines 358 B
export interface TcpPingResult { online: boolean; latency: number | null; } /** * @param host - Hostname or IP * @param port - TCP port to ping (required) * @param timeout - Timeout in ms (default 3000) */ export declare function tcpPing(host: string, port: number, timeout?: number): Promise<TcpPingResult>; //# sourceMappingURL=tcpPing.d.ts.map