Module

std/node/punycode.ts

Deno standard library
Go to Latest
function toUnicode
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.

import toUnicode
import { toUnicode } from "https://deno.land/std@0.145.0/node/punycode.ts";