Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HostsEntry

import type { HostsEntry } from "https://googleapis.deno.dev/v1/migrationcenter:v1.ts";

Single /etc/hosts entry.

interface HostsEntry {
hostNames?: string[];
ip?: string;
}

§Properties

§
hostNames?: string[]
[src]

List of host names / aliases.

§
ip?: string
[src]

IP (raw, IPv4/6 agnostic).