MCPcopy
hub / github.com/di-sukharev/opencommit / toASCII

Function toASCII

out/cli.cjs:3069–3073  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

3067 });
3068 };
3069 var toASCII = function(input) {
3070 return mapDomain(input, function(string) {
3071 return regexNonASCII.test(string) ? "xn--" + encode3(string) : string;
3072 });
3073 };
3074 var punycode = {
3075 /**
3076 * A string representing the current Punycode.js version number.

Callers

nothing calls this directly

Calls 6

mapDomainFunction · 0.85
encode3Function · 0.85
processingFunction · 0.85
containsNonASCIIFunction · 0.85
testMethod · 0.80
encodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…