mirror of
https://github.com/denoland/std.git
synced 2024-11-21 12:40:03 +00:00
0b2497f16e
* fix: update codebase to work with Deno RC * work * fix * fix * fix * fixes * work * update * fixes * fix * revert
20 lines
388 B
TypeScript
20 lines
388 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
/**
|
|
* Network utilities.
|
|
*
|
|
* ```ts no-assert ignore
|
|
* 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";
|