Skip to content

Commit e951825

Browse files
yunnysunnyjuanarbol
authored andcommitted
doc: fix the spelling error in stream.md
Change `64kb` to `64KB` in `stream.md` PR-URL: #31561 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Andrey Pechkurov <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
1 parent 0413acc commit e951825

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/stream.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ If the loop terminates with a `break` or a `throw`, the stream will be
14421442
destroyed. In other terms, iterating over a stream will consume the stream
14431443
fully. The stream will be read in chunks of size equal to the `highWaterMark`
14441444
option. In the code example above, data will be in a single chunk if the file
1445-
has less then 64kb of data because no `highWaterMark` option is provided to
1445+
has less then 64KB of data because no `highWaterMark` option is provided to
14461446
[`fs.createReadStream()`][].
14471447

14481448
### Duplex and Transform Streams
@@ -1830,7 +1830,7 @@ changes:
18301830
* `options` {Object}
18311831
* `highWaterMark` {number} Buffer level when
18321832
[`stream.write()`][stream-write] starts returning `false`. **Default:**
1833-
`16384` (16kb), or `16` for `objectMode` streams.
1833+
`16384` (16KB), or `16` for `objectMode` streams.
18341834
* `decodeStrings` {boolean} Whether to encode `string`s passed to
18351835
[`stream.write()`][stream-write] to `Buffer`s (with the encoding
18361836
specified in the [`stream.write()`][stream-write] call) before passing
@@ -2112,7 +2112,7 @@ changes:
21122112
* `options` {Object}
21132113
* `highWaterMark` {number} The maximum [number of bytes][hwm-gotcha] to store
21142114
in the internal buffer before ceasing to read from the underlying resource.
2115-
**Default:** `16384` (16kb), or `16` for `objectMode` streams.
2115+
**Default:** `16384` (16KB), or `16` for `objectMode` streams.
21162116
* `encoding` {string} If specified, then buffers will be decoded to
21172117
strings using the specified encoding. **Default:** `null`.
21182118
* `objectMode` {boolean} Whether this stream should behave

0 commit comments

Comments
 (0)