-
-
Notifications
You must be signed in to change notification settings - Fork 35.2k
RFE: utility consumers are not mentioned on the Stream page #62535
Copy link
Copy link
Open
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Description
Affected URL(s)
https://nodejs.org/api/stream.html
Description of the problem
Hello,
The node:stream/consumers are not mentioned on the Stream page, which leads to people writing their own stream utils without knowing about the nice and elegant built-in "batteries". (Which might be good exercise, but I was happy to find a StackOverflow answer which meant I don't have to invent my own "read to string" function.)
Where the API docs says "It is usually not necessary to use the node:stream module to consume streams.", it would be useful to add that there are consumers for common tasks in the node:stream/consumers module.
Thanks for considering!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.