MCPcopy Index your code
hub / github.com/nodejs/node / domainToASCII

Function domainToASCII

lib/internal/url.js:1425–1431  ·  view source on GitHub ↗
(domain)

Source from the content-addressed store, hash-verified

1423}
1424
1425function domainToASCII(domain) {
1426 if (arguments.length < 1)
1427 throw new ERR_MISSING_ARGS('domain');
1428
1429 // StringPrototypeToWellFormed is not needed.
1430 return bindingUrl.domainToASCII(`${domain}`);
1431}
1432
1433function domainToUnicode(domain) {
1434 if (arguments.length < 1)

Callers 2

tls.jsFile · 0.85

Calls 1

domainToASCIIMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…