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

x/domain/mod.ts>getAllDomains

Get all the top-level domains, including gTLDs such as `.com`, and country-code TLDs such as `.uk`.
Latest
function getAllDomains
import { getAllDomains } from "https://deno.land/x/domain@0.2.0/mod.ts";

get an array with all the domains supported

Returns

string[]