File tree 10 files changed +13
-13
lines changed
10 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ added: v0.1.27
330
330
331
331
Uses the DNS protocol to resolve text queries (` TXT ` records) for the
332
332
` hostname ` . The ` addresses ` argument passed to the ` callback ` function is
333
- is a two-dimentional array of the text records available for ` hostname ` (e.g.,
333
+ is a two-dimensional array of the text records available for ` hostname ` (e.g.,
334
334
` [ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ] ` ). Each sub-array contains TXT chunks of
335
335
one record. Depending on the use case, these could be either joined together or
336
336
treated separately.
Original file line number Diff line number Diff line change @@ -398,7 +398,7 @@ The following signal constants are exported by `os.constants.signals`:
398
398
</tr >
399
399
<tr >
400
400
<td><code>SIGTRAP</code></td>
401
- <td>Sent to a proces when an exception has occurred.</td>
401
+ <td>Sent to a process when an exception has occurred.</td>
402
402
</tr >
403
403
<tr >
404
404
<td><code>SIGABRT</code></td>
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ added: v0.1.25
135
135
* ` path ` {String}
136
136
137
137
The ` path.extname() ` method returns the extension of the ` path ` , from the last
138
- occurance of the ` . ` (period) character to end of string in the last portion of
138
+ occurrence of the ` . ` (period) character to end of string in the last portion of
139
139
the ` path ` . If there is no ` . ` in the last portion of the ` path ` , or if the
140
140
first character of the basename of ` path ` (see ` path.basename() ` ) is ` . ` , then
141
141
an empty string is returned.
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ rejections have not yet been handled.
216
216
The listener function is called with the following arguments:
217
217
218
218
* ` reason ` {Error|any} The object with which the promise was rejected
219
- (typically an [ ` Error ` ] [ ] objet ).
219
+ (typically an [ ` Error ` ] [ ] object ).
220
220
* ` p ` the ` Promise ` that was rejected.
221
221
222
222
For example:
@@ -1410,7 +1410,7 @@ added: v0.9.4
1410
1410
* ` groups ` {Array}
1411
1411
1412
1412
The ` process.setgroups() ` method sets the supplementary group IDs for the
1413
- Node.js proess . This is a privileged operation that requires the Node.js process
1413
+ Node.js process . This is a privileged operation that requires the Node.js process
1414
1414
to have ` root ` or the ` CAP_SETGID ` capability.
1415
1415
1416
1416
The ` groups ` array can contain numeric group IDs, group names or both.
@@ -1497,7 +1497,7 @@ must call `process.stdin.resume()` to read from it. Note also that calling
1497
1497
1498
1498
## process.stdout
1499
1499
1500
- The ` process.stdout ` propety returns a [ Writable] [ ] stream equivalent to or
1500
+ The ` process.stdout ` property returns a [ Writable] [ ] stream equivalent to or
1501
1501
associated with ` stdout ` (fd ` 1 ` ).
1502
1502
1503
1503
For example:
Original file line number Diff line number Diff line change @@ -1668,7 +1668,7 @@ respectively.
1668
1668
1669
1669
In the following example, for instance, a new Transform stream (which is a
1670
1670
type of [ Duplex] [ ] stream) is created that has an object mode Writable side
1671
- that accepts JavaScript numbers that are converted to hexidecimal strings on
1671
+ that accepts JavaScript numbers that are converted to hexadecimal strings on
1672
1672
the Readable side.
1673
1673
1674
1674
``` js
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ OpenSSL command-line interface to generate such parameters:
96
96
openssl dhparam -outform PEM -out dhparam.pem 2048
97
97
```
98
98
99
- If using Perfect Foward Secrecy using ` ECDHE ` , Diffie-Hellman parameters are
99
+ If using Perfect Forward Secrecy using ` ECDHE ` , Diffie-Hellman parameters are
100
100
not required and a default ECDHE curve will be used. The ` ecdheCurve ` property
101
101
can be used when creating a TLS Server to specify the name of an
102
102
alternative curve to use.
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ For example: `'host.com:8080'`
64
64
65
65
The ` auth ` property is the username and password portion of the URL, also
66
66
referred to as "userinfo". This string subset follows the ` protocol ` and
67
- double slashes (if present) and preceeds the ` host ` component, delimited by an
67
+ double slashes (if present) and precedes the ` host ` component, delimited by an
68
68
ASCII "at sign" (` @ ` ). The format of the string is ` {username}[:{password}] ` ,
69
69
with the ` [:{password}] ` portion being optional.
70
70
@@ -208,7 +208,7 @@ added: v0.1.25
208
208
method. If ` false ` , the ` query ` property on the returned URL object will be an
209
209
unparsed, undecoded string. Defaults to ` false ` .
210
210
* ` slashesDenoteHost ` {boolean} If ` true ` , the first token after the literal
211
- string ` // ` and preceeding the next ` / ` will be interpreted as the ` host ` .
211
+ string ` // ` and preceding the next ` / ` will be interpreted as the ` host ` .
212
212
For instance, given ` //foo/bar ` , the result would be
213
213
` {host: 'foo', pathname: '/bar'} ` rather than ` {pathname: '//foo/bar'} ` .
214
214
Defaults to ` false ` .
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ That is: 128K for windowBits=15 + 128K for memLevel = 8
156
156
(default values) plus a few kilobytes for small objects.
157
157
158
158
For example, to reduce the default memory requirements from 256K to 128K, the
159
- options shoud be set to:
159
+ options should be set to:
160
160
161
161
``` js
162
162
{ windowBits: 14 , memLevel: 7 }
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ occurring.
93
93
94
94
As an example, let's consider a case where each request to a web server takes
95
95
50ms to complete and 45ms of that 50ms is database I/O that can be done
96
- asychronously . Choosing ** non-blocking** asynchronous operations frees up that
96
+ asynchronously . Choosing ** non-blocking** asynchronous operations frees up that
97
97
45ms per request to handle other requests. This is a significant difference in
98
98
capacity just by choosing to use ** non-blocking** methods instead of
99
99
** blocking** methods.
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ actually uses - are those above._
69
69
70
70
* ** timers** : this phase executes callbacks scheduled by ` setTimeout() `
71
71
and ` setInterval() ` .
72
- * ** I/O callbacks** : most types of callback except timers, ` setImmedate ()` , close
72
+ * ** I/O callbacks** : most types of callback except timers, ` setImmediate ()` , close
73
73
* ** idle, prepare** : only used internally
74
74
* ** poll** : retrieve new I/O events; node will block here when appropriate
75
75
* ** check** : ` setImmediate() ` callbacks are invoked here
You can’t perform that action at this time.
0 commit comments