doc: minor typo fixes in stream docs · nodejs/node@1d83013

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