std/net/mod.ts
Asher Gomez b900e72b3d
BREAKING(net/unstable): move get-network-address module to unstable-get-network-address (#5949)
* BREAKING(net/unstable): move `get-network-address` module to `unstable-get-network-address`

* fix

* fix
2024-09-12 04:05:40 +00:00

20 lines
389 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
/**
* Network utilities.
*
* ```ts no-assert no-eval
* import { getAvailablePort } from "@std/net";
*
* const command = new Deno.Command(Deno.execPath(), {
* args: ["test.ts", "--port", getAvailablePort().toString()],
* });
*
* // ...
* ```
*
* @module
*/
export * from "./get_available_port.ts";