Is Punycode Check if a string is punycode. Install npm install is-punycode Usage const punycodeRegex = require("punycode-regex"); isPunycode("xn--tiq49xqyj")//=> true API isPunycode(string) string Type: string The string to check.