Module

std/node/punycode.ts>encode

Deno standard library
Go to Latest
function encode
import { encode } from "https://dotland.deno.dev/std@0.177.0/node/punycode.ts";

Converts a string of Unicode symbols (e.g. a domain name label) to a Punycode string of ASCII-only symbols.

Parameters

str: string

The string of Unicode symbols.

import encode
import { encode } from "https://dotland.deno.dev/std@0.177.0/node/punycode.ts";