Skip to content

Commit

Permalink
doc: switch the order of Writable and Readable
Browse files Browse the repository at this point in the history
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 <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Joseph Gordon authored and targos committed Jun 16, 2018
1 parent dfb5cf6 commit e00e5e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ the elements of the API that are required to *implement* new types of streams.

There are four fundamental stream types within Node.js:

* [`Readable`][] - streams from which data can be read (for example
[`fs.createReadStream()`][]).
* [`Writable`][] - streams to which data can be written (for example
[`fs.createWriteStream()`][]).
* [`Readable`][] - streams from which data can be read (for example
[`fs.createReadStream()`][]).
* [`Duplex`][] - streams that are both `Readable` and `Writable` (for example
[`net.Socket`][]).
* [`Transform`][] - `Duplex` streams that can modify or transform the data as it
Expand Down

0 comments on commit e00e5e6

Please sign in to comment.