This release is 6 versions behind 1.0.6 — the latest version of @std/net. Jump to latest
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
•JSR Score94%•This package works with DenoIt is unknown whether this package works with Bun

Downloads4,453/wk
•Published2 years ago (1.0.0-rc.2)
Utilities for working with the network
Network utilities.
import { getNetworkAddress, getAvailablePort } from "@std/net"; console.log(`My network IP address is ${getNetworkAddress()}`); const command = new Deno.Command(Deno.execPath(), { args: ["test.ts", "--port", getAvailablePort().toString()], }); // ...
Built and signed on
GitHub Actions
Add Package
deno add jsr:@std/net
Import symbol
import * as net from "@std/net";
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";