Module

std/node/url.ts>domainToUnicode

Deno standard library
Go to Latest
function domainToUnicode
import { domainToUnicode } from "https://deno.land/std@0.177.0/node/url.ts";

The url.domainToUnicode() takes an IDN and attempts to convert it into unicode

Parameters

domain: string

The IDN to convert to Unicode