Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.NetworkInterfaceInfo

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.NetworkInterfaceInfo
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { NetworkInterfaceInfo } = Deno;

The information for a network interface returned from a call to Deno.networkInterfaces.

Properties

name: string

The network interface name.

family: "IPv4" | "IPv6"

The IP protocol version.

address: string

The IP address bound to the interface.

netmask: string

The netmask applied to the interface.

scopeid: number | null

The IPv6 scope id or null.

cidr: string

The CIDR range.

mac: string

The MAC address.