| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,7 +37,7 @@ The `punycode` module is a third-party dependency used by Node.js and | |||
| 37 | 37 | made available to developers as a convenience. Fixes or other modifications to | |
| 38 | 38 | the module must be directed to the [Punycode.js][] project. | |
| 39 | 39 | ||
| 40 | - ## punycode.decode(string) | ||
| 40 | + ## `punycode.decode(string)` | ||
| 41 | 41 | <!-- YAML | |
| 42 | 42 | added: v0.5.1 | |
| 43 | 43 | --> | |
@@ -52,7 +52,7 @@ punycode.decode('maana-pta'); // 'mañana' | |||
| 52 | 52 | punycode.decode('--dqo34k'); // '☃-⌘' | |
| 53 | 53 | ``` | |
| 54 | 54 | ||
| 55 | - ## punycode.encode(string) | ||
| 55 | + ## `punycode.encode(string)` | ||
| 56 | 56 | <!-- YAML | |
| 57 | 57 | added: v0.5.1 | |
| 58 | 58 | --> | |
@@ -67,7 +67,7 @@ punycode.encode('mañana'); // 'maana-pta' | |||
| 67 | 67 | punycode.encode('☃-⌘'); // '--dqo34k' | |
| 68 | 68 | ``` | |
| 69 | 69 | ||
| 70 | - ## punycode.toASCII(domain) | ||
| 70 | + ## `punycode.toASCII(domain)` | ||
| 71 | 71 | <!-- YAML | |
| 72 | 72 | added: v0.6.1 | |
| 73 | 73 | --> | |
@@ -86,7 +86,7 @@ punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com' | |||
| 86 | 86 | punycode.toASCII('example.com'); // 'example.com' | |
| 87 | 87 | ``` | |
| 88 | 88 | ||
| 89 | - ## punycode.toUnicode(domain) | ||
| 89 | + ## `punycode.toUnicode(domain)` | ||
| 90 | 90 | <!-- YAML | |
| 91 | 91 | added: v0.6.1 | |
| 92 | 92 | --> | |
@@ -104,12 +104,12 @@ punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com' | |||
| 104 | 104 | punycode.toUnicode('example.com'); // 'example.com' | |
| 105 | 105 | ``` | |
| 106 | 106 | ||
| 107 | - ## punycode.ucs2 | ||
| 107 | + ## `punycode.ucs2` | ||
| 108 | 108 | <!-- YAML | |
| 109 | 109 | added: v0.7.0 | |
| 110 | 110 | --> | |
| 111 | 111 | ||
| 112 | - ### punycode.ucs2.decode(string) | ||
| 112 | + ### `punycode.ucs2.decode(string)` | ||
| 113 | 113 | <!-- YAML | |
| 114 | 114 | added: v0.7.0 | |
| 115 | 115 | --> | |
@@ -125,7 +125,7 @@ punycode.ucs2.decode('abc'); // [0x61, 0x62, 0x63] | |||
| 125 | 125 | punycode.ucs2.decode('\uD834\uDF06'); // [0x1D306] | |
| 126 | 126 | ``` | |
| 127 | 127 | ||
| 128 | - ### punycode.ucs2.encode(codePoints) | ||
| 128 | + ### `punycode.ucs2.encode(codePoints)` | ||
| 129 | 129 | <!-- YAML | |
| 130 | 130 | added: v0.7.0 | |
| 131 | 131 | --> | |
@@ -140,7 +140,7 @@ punycode.ucs2.encode([0x61, 0x62, 0x63]); // 'abc' | |||
| 140 | 140 | punycode.ucs2.encode([0x1D306]); // '\uD834\uDF06' | |
| 141 | 141 | ``` | |
| 142 | 142 | ||
| 143 | - ## punycode.version | ||
| 143 | + ## `punycode.version` | ||
| 144 | 144 | <!-- YAML | |
| 145 | 145 | added: v0.6.1 | |
| 146 | 146 | --> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments