Skip to content

RFE: utility consumers are not mentioned on the Stream page #62535

@PAStheLoD

Description

@PAStheLoD

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions