Skip to main content
Module

std/node/punycode.ts>toUnicode

Deno standard library
Go to Latest
function toUnicode
Re-export
import { toUnicode } from "https://deno.land/std@0.145.0/node/punycode.ts";

Converts a Punycode string representing a domain name or an email address to Unicode. Only the Punycoded parts of the input will be converted, i.e. it doesn't matter if you call it on a string that has already been converted to Unicode.

Parameters

input: string

The Punycoded domain name or email address to convert to Unicode.