Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: address reviewer feedback for stream consumers link
  • Loading branch information
NinadUbale committed Apr 7, 2026
commit 5e5b5d6220144ca298a509f8132e047696373d14
8 changes: 5 additions & 3 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ are both stream instances.
Streams can be readable, writable, or both. All streams are instances of
[`EventEmitter`][].

```markdown

To access the `node:stream` module:

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

The `node:stream` module is useful for creating new types of stream instances.
It is usually not necessary to use the `node:stream` module to consume streams.

For common tasks like reading a stream into a string or buffer, the
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For common tasks like reading a stream into a string or buffer, the
For common tasks like reading a stream into a string or buffer, the

[`node:stream/consumers`](webstreams.md#utility-consumers) module provides
convenient utility functions.
[`node:stream/consumers`][] module provides convenient utility functions.


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