Skip to main content

@std/net@1.0.4
Built and signed on GitHub Actions

Utilities for working with the network

This package works with DenoIt is unknown whether this package works with Bun
This package works with Deno
It is unknown whether this package works with Bun
JSR Score
94%
Published
2 months ago (1.0.4)

Network utilities.

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

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

// ...
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@std/net

Import symbol

import * as net from "@std/net";

---- OR ----

Import directly with a jsr specifier

import * as net from "jsr:@std/net";

Add Package

bunx jsr add @std/net

Import symbol

import * as net from "@std/net";