get-free-port Get a random free port synchronously using libuv tcp handle bind, without waiting for a server to listen. example let port = getFreePort(); console.log(port); // log: 45073