function getAvailablePortimport { getAvailablePort } from "https://dotland.deno.dev/std@0.223.0/net/mod.ts"; getAvailablePort(options?: GetAvailablePortOptions): numberReturns an available network port. ExamplesExample 1 import { getAvailablePort } from "https://deno.land/std@0.223.0/net/get_available_port.ts"; const port = getAvailablePort(); Deno.serve({ port }, () => new Response("Hello, world!")); Parametersoptionaloptions: GetAvailablePortOptionsReturnsnumber