Skip to main content
On this page

@std/net

Overview Jump to heading

Network utilities.

import { getAvailablePort } from "@std/net";

const command = new Deno.Command(Deno.execPath(), {
 args: ["test.ts", "--port", getAvailablePort().toString()],
});

// ...

Add to your project Jump to heading

>_
deno add jsr:@std/net

See all symbols in @std/net on

Did you find what you needed?

Edit this page
Privacy policy