Skip to content

Commit 5e5b5d6

Browse files
committed
doc: address reviewer feedback for stream consumers link
1 parent f6cb1ad commit 5e5b5d6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/api/stream.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ are both stream instances.
1616
Streams can be readable, writable, or both. All streams are instances of
1717
[`EventEmitter`][].
1818

19-
```markdown
19+
2020
To access the `node:stream` module:
2121

2222
```js
@@ -25,9 +25,10 @@ const stream = require('node:stream');
2525

2626
The `node:stream` module is useful for creating new types of stream instances.
2727
It is usually not necessary to use the `node:stream` module to consume streams.
28+
2829
For common tasks like reading a stream into a string or buffer, the
29-
[`node:stream/consumers`](webstreams.md#utility-consumers) module provides
30-
convenient utility functions.
30+
[`node:stream/consumers`][] module provides convenient utility functions.
31+
3132

3233
## Organization of this document
3334
This document contains two primary sections and a third section for notes. The
@@ -5007,6 +5008,7 @@ contain multi-byte characters.
50075008
[`Writable`]: #class-streamwritable
50085009
[`fs.createReadStream()`]: fs.md#fscreatereadstreampath-options
50095010
[`fs.createWriteStream()`]: fs.md#fscreatewritestreampath-options
5011+
[`node:stream/consumers`]: webstreams.md#utility-consumers
50105012
[`net.Socket`]: net.md#class-netsocket
50115013
[`process.stderr`]: process.md#processstderr
50125014
[`process.stdin`]: process.md#processstdin

0 commit comments

Comments
 (0)