Deno standard library
Go to Latest
function toUnicode
import { toUnicode } from "";

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.


input: string

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

import toUnicode
import { toUnicode } from "";