Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.NetworkInterfaceInfo
import { type Deno } from "https://deno.land/x/deno@v1.28.1/cli/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.