@visulima/email
Version:
A comprehensive email library with multi-provider support, crypto utilities, and template engines
10 lines (9 loc) • 388 B
TypeScript
/**
* Checks if a port is available on a host.
* Works across environments with polyfills.
* @param host The hostname or IP address to check.
* @param port The port number to check.
* @returns Promise that resolves to true if the port is available, false otherwise.
*/
declare const isPortAvailable: (host: string, port: number) => Promise<boolean>;
export default isPortAvailable;