visilog
Version:
Stream browser console logs to files for LLM debugging. Zero-config setup with simple imports. No MCP required - just tell your LLM to read the log files.
25 lines • 793 B
TypeScript
/**
* Port detection utility for finding available ports
*/
export interface PortOptions {
startPort?: number;
endPort?: number;
host?: string;
}
/**
* Find the next available port starting from a given port
*/
export declare function findAvailablePort(startPort?: number, options?: PortOptions): Promise<number>;
/**
* Check if a specific port is available
*/
export declare function isPortAvailable(port: number, host?: string): Promise<boolean>;
/**
* Get a list of commonly used development ports to avoid
*/
export declare function getCommonDevPorts(): number[];
/**
* Find an available port that avoids common dev server conflicts
*/
export declare function findAvailablePortSafe(preferredPort?: number): Promise<number>;
//# sourceMappingURL=port-detector.d.ts.map