mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
b900e72b3d
* BREAKING(net/unstable): move `get-network-address` module to `unstable-get-network-address` * fix * fix
20 lines
389 B
TypeScript
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";
|