Skip to content

Commit 1d83013

Browse files
Alex Perkinsaddaleax
Alex Perkins
authored andcommitted
doc: minor typo fixes in stream docs
PR-URL: #7763 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 34d58ce commit 1d83013

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/stream.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const stream = require('stream');
2020
```
2121

2222
While it is important for all Node.js users to understand how streams works,
23-
the `stream` module itself is most useful for developer's that are creating new
23+
the `stream` module itself is most useful for developers that are creating new
2424
types of stream instances. Developer's who are primarily *consuming* stream
2525
objects will rarely (if ever) have need to use the `stream` module directly.
2626

@@ -343,7 +343,7 @@ The buffered data will be flushed when either the [`stream.uncork()`][] or
343343
[`stream.end()`][stream-end] methods are called.
344344

345345
The primary intent of `writable.cork()` is to avoid a situation where writing
346-
many small chunks of data to a stream do not cause an backup in the internal
346+
many small chunks of data to a stream do not cause a backup in the internal
347347
buffer that would have an adverse impact on performance. In such situations,
348348
implementations that implement the `writable._writev()` method can perform
349349
buffered writes in a more optimized manner.
@@ -1554,7 +1554,7 @@ class Counter extends Readable {
15541554
A [Duplex][] stream is one that implements both [Readable][] and [Writable][],
15551555
such as a TCP socket connection.
15561556

1557-
Because Javascript does not have support for multiple inheritance, the
1557+
Because JavaScript does not have support for multiple inheritance, the
15581558
`stream.Duplex` class is extended to implement a [Duplex][] stream (as opposed
15591559
to extending the `stream.Readable` *and* `stream.Writable` classes).
15601560

0 commit comments

Comments
 (0)