Skip to content

Commit e00e5e6

Browse files
Joseph Gordontargos
Joseph Gordon
authored andcommitted
doc: switch the order of Writable and Readable
This change places the links to Writable stream and Readble stream in the order these sections appear when scrolling down the screen. PR-URL: #21333 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent dfb5cf6 commit e00e5e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/stream.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ the elements of the API that are required to *implement* new types of streams.
3737

3838
There are four fundamental stream types within Node.js:
3939

40-
* [`Readable`][] - streams from which data can be read (for example
41-
[`fs.createReadStream()`][]).
4240
* [`Writable`][] - streams to which data can be written (for example
4341
[`fs.createWriteStream()`][]).
42+
* [`Readable`][] - streams from which data can be read (for example
43+
[`fs.createReadStream()`][]).
4444
* [`Duplex`][] - streams that are both `Readable` and `Writable` (for example
4545
[`net.Socket`][]).
4646
* [`Transform`][] - `Duplex` streams that can modify or transform the data as it

0 commit comments

Comments
 (0)