Skip to content

Commit 34f34e4

Browse files
shamakoichik
authored andcommitted
docs: fix typo
Fixes #2193.
1 parent 3a16064 commit 34f34e4

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

doc/api/buffers.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,4 +511,4 @@ given it will fill the entire buffer.
511511
### INSPECT_MAX_BYTES
512512

513513
How many bytes will be returned when `buffer.inspect()` is called. This can
514-
be overriden by user modules.
514+
be overridden by user modules.

doc/api/child_processes.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ This is a special case of the `spawn()` functionality for spawning Node
204204
processes. In addition to having all the methods in a normal ChildProcess
205205
instance, the returned object has a communication channel built-in. The
206206
channel is written to with `child.send(message, [sendHandle])` and messages
207-
are recieved by a `'message'` event on the child.
207+
are received by a `'message'` event on the child.
208208

209209
For example:
210210

doc/api/http.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ Options:
385385

386386
- `host`: A domain name or IP address of the server to issue the request to.
387387
Defaults to `'localhost'`.
388-
- `hostname`: To support `url.parse()` `hostname` is prefered over `host`
388+
- `hostname`: To support `url.parse()` `hostname` is preferred over `host`
389389
- `port`: Port of remote server. Defaults to 80.
390390
- `socketPath`: Unix Domain Socket (use one of host:port or socketPath)
391391
- `method`: A string specifying the HTTP request method. Defaults to `'GET'`.
@@ -453,7 +453,7 @@ There are a few special headers that should be noted.
453453
and listen for the `continue` event. See RFC2616 Section 8.2.3 for more
454454
information.
455455

456-
* Sending an Authorization header will override useing the `auth` option
456+
* Sending an Authorization header will override using the `auth` option
457457
to compute basic authentication.
458458

459459
## http.get(options, callback)

doc/api/https.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This class is a subclass of `tls.Server` and emits events same as
1010

1111
## https.createServer(options, [requestListener])
1212

13-
Returns a new HTTPS web server object. The `options` is similer to
13+
Returns a new HTTPS web server object. The `options` is similar to
1414
`tls.createServer()`. The `requestListener` is a function which is
1515
automatically added to the `'request'` event.
1616

@@ -70,7 +70,7 @@ The options argument has the following options
7070

7171
- `host`: A domain name or IP address of the server to issue the request to.
7272
Defaults to `'localhost'`.
73-
- `hostname`: To support `url.parse()` `hostname` is prefered over `host`
73+
- `hostname`: To support `url.parse()` `hostname` is preferred over `host`
7474
- `port`: Port of remote server. Defaults to 443.
7575
- `method`: A string specifying the HTTP request method. Defaults to `'GET'`.
7676
- `path`: Request path. Defaults to `'/'`. Should include query string if any.
@@ -154,7 +154,7 @@ Example:
154154

155155
## https.Agent
156156

157-
An Agent object for HTTPS similer to [http.Agent](http.html#http.Agent).
157+
An Agent object for HTTPS similar to [http.Agent](http.html#http.Agent).
158158
See [https.request()](#https.request) for more information.
159159

160160

doc/api/modules.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Where `$HOME` is the user's home directory, and `$PREFIX` is node's
304304
configured `installPrefix`.
305305

306306
These are mostly for historic reasons. You are highly encouraged to
307-
place your dependencies localy in `node_modules` folders. They will be
307+
place your dependencies locally in `node_modules` folders. They will be
308308
loaded faster, and more reliably.
309309

310310
### Accessing the main module

doc/api/stdio.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Prints to stdout with newline. This function can take multiple arguments in a
1111

1212
console.log('count: %d', count);
1313

14-
If formating elements are not found in the first string then `util.inspect`
14+
If formatting elements are not found in the first string then `util.inspect`
1515
is used on each argument.
16-
See [util.format()](util.html#util.format) for more infomation.
16+
See [util.format()](util.html#util.format) for more information.
1717

1818
### console.info()
1919

doc/api/tls.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ defaults to `localhost`.) `options` should be an object which specifies
122122
- `NPNProtocols`: An array of string or `Buffer` containing supported NPN
123123
protocols. `Buffer` should have following format: `0x05hello0x05world`,
124124
where first byte is next protocol name's length. (Passing array should
125-
usually be much simplier: `['hello', 'world']`.)
125+
usually be much simpler: `['hello', 'world']`.)
126126

127127
- `servername`: Servername for SNI (Server Name Indication) TLS extension.
128128

@@ -173,7 +173,7 @@ thereafter.
173173

174174
### NPN and SNI
175175

176-
NPN (Next Protocol Negotitation) and SNI (Server Name Indication) are TLS
176+
NPN (Next Protocol Negotiation) and SNI (Server Name Indication) are TLS
177177
handshake extensions allowing you:
178178

179179
* NPN - to use one TLS server for multiple protocols (HTTP, SPDY)
@@ -309,7 +309,7 @@ becomes available only when `cleartextStream.authorized === false`.
309309

310310
#### cleartextStream.getPeerCertificate()
311311

312-
Returns an object representing the peer's certicicate. The returned object has
312+
Returns an object representing the peer's certificate. The returned object has
313313
some properties corresponding to the field of the certificate.
314314

315315
Example:

0 commit comments

Comments
 (0)