summaryrefslogtreecommitdiff
path: root/doc/api/punycode.md
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2017-02-04 16:15:33 +0100
committerRoman Reiss <me@silverwind.io>2017-03-02 17:55:45 +0100
commitff1361957df58ef92c8a9dfce40c6091ea3a21d4 (patch)
tree10721c2b86095033930bffc4e52cf38d40033f16 /doc/api/punycode.md
parentebe8c3debeea708ca69b8724dda9ad9c5c32e72c (diff)
downloadandroid-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.tar.gz
android-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.tar.bz2
android-node-v8-ff1361957df58ef92c8a9dfce40c6091ea3a21d4.zip
doc: consistent case for primitive types
PR-URL: https://github.com/nodejs/node/pull/11167 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc/api/punycode.md')
-rw-r--r--doc/api/punycode.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/punycode.md b/doc/api/punycode.md
index 7b0b63939d..baa3d050d1 100644
--- a/doc/api/punycode.md
+++ b/doc/api/punycode.md
@@ -40,7 +40,7 @@ the module must be directed to the [Punycode.js][] project.
added: v0.5.1
-->
-* `string` {String}
+* `string` {string}
The `punycode.decode()` method converts a [Punycode][] string of ASCII-only
characters to the equivalent string of Unicode codepoints.
@@ -55,7 +55,7 @@ punycode.decode('--dqo34k'); // '☃-⌘'
added: v0.5.1
-->
-* `string` {String}
+* `string` {string}
The `punycode.encode()` method converts a string of Unicode codepoints to a
[Punycode][] string of ASCII-only characters.
@@ -70,7 +70,7 @@ punycode.encode('☃-⌘'); // '--dqo34k'
added: v0.6.1
-->
-* `domain` {String}
+* `domain` {string}
The `punycode.toASCII()` method converts a Unicode string representing an
Internationalized Domain Name to [Punycode][]. Only the non-ASCII parts of the
@@ -89,7 +89,7 @@ punycode.toASCII('example.com'); // 'example.com'
added: v0.6.1
-->
-* `domain` {String}
+* `domain` {string}
The `punycode.toUnicode()` method converts a string representing a domain name
containing [Punycode][] encoded characters into Unicode. Only the [Punycode][]
@@ -112,7 +112,7 @@ added: v0.7.0
added: v0.7.0
-->
-* `string` {String}
+* `string` {string}
The `punycode.ucs2.decode()` method returns an array containing the numeric
codepoint values of each Unicode symbol in the string.