Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/internal/idna.ts>decode

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function decode
import { decode } from "https://deno.land/std@0.138.0/node/internal/idna.ts";

Converts a Punycode string of ASCII-only symbols to a string of Unicode symbols.

Parameters

input: string

The Punycode string of ASCII-only symbols.

Returns

string

The resulting string of Unicode symbols.