File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ are both stream instances.
1616Streams can be readable, writable, or both. All streams are instances of
1717[ ` EventEmitter ` ] [ ] .
1818
19- ``` markdown
19+
2020To access the ` node:stream ` module:
2121
2222``` js
@@ -25,9 +25,10 @@ const stream = require('node:stream');
2525
2626The ` node:stream ` module is useful for creating new types of stream instances.
2727It is usually not necessary to use the ` node:stream ` module to consume streams.
28+
2829For 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
3334This 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
You can’t perform that action at this time.
0 commit comments