The punycode.ucs2.decode() method returns an array containing the numeric codepoint values of each Unicode symbol in the string.
The punycode.ucs2.decode() method returns an array containing the numeric codepoint values of each Unicode symbol in the string.
the string containing Unicode symbols
an array containing the numeric codepoint values of each Unicode symbol
The punycode.ucs2.encode() method returns a string based on an array of numeric code point values.
The punycode.ucs2.encode() method returns a string based on an array of numeric code point values.
an array of numeric code point values
a string based on an array of numeric code point values
Punycode.UCS2
https://nodejs.org/dist/latest-v7.x/docs/api/punycode.html