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

x/ayonli_jsext/lib.deno.d.ts>Deno.NetworkInterfaceInfo

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.NetworkInterfaceInfo
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.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.