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

Function domainToUnicode

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

Source from the content-addressed store, hash-verified

1431}
1432
1433function domainToUnicode(domain) {
1434 if (arguments.length < 1)
1435 throw new ERR_MISSING_ARGS('domain');
1436
1437 // StringPrototypeToWellFormed is not needed.
1438 return bindingUrl.domainToUnicode(`${domain}`);
1439}
1440
1441/**
1442 * Utility function that converts a URL object into an ordinary options object

Callers 3

getPathFromURLWin32Function · 0.85

Calls 1

domainToUnicodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…