Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
getAvailablePort(options?: GetAvailablePortOptions): number
Returns an available network port.
Interfaces
I
Options for getAvailablePort.
- preferredPort: number
A port to check availability of first. If the port isn't available, fall back to another port.