Provide streams examples in Learn->manipulating-files->"Reading files with Node.js" article #6921
Labels
content
Issues/pr concerning content
good first issue
Issues for newcomers
help wanted
learn
Issues/pr concerning the learn section
Enter your suggestions in details:
1. What I expected to happen.
The Learn page Reading files with Node.js ends with:
I would have expected a link to a streams example solving the same problem or at least a link to the streams api (and possibly, hopefully not true, a clarification that this is neck-beard territory
![Ken Thompson (left) and Dennis Ritchie (right), inventors of, and Unix/C gurus Ken_Thompson_and_Dennis_Ritchie--1973](https://private-user-images.githubusercontent.com/9413242/348137051-a7960218-8090-478d-9c7a-3b763c91c2c1.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTM3NTQsIm5iZiI6MTczOTgxMzQ1NCwicGF0aCI6Ii85NDEzMjQyLzM0ODEzNzA1MS1hNzk2MDIxOC04MDkwLTQ3OGQtOWM3YS0zYjc2M2M5MWMyYzEuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTdUMTczMDU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDY3N2JmNmNkYjNkMTc2NzBiZDU2YTE4NDc1N2M2ZjczYzlmN2VhYzllMTRmNmRiODdmNjgyNWYzMzk0ZDVmMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.jhPgHuHXIWFyv_zkCLaGbxd59HZUtQp0vDxqhhM1AeM)
and too advanced for you, my young padawan 😀)
2. Your reason (if possible, images and videos are welcome).
Reading data from unknown and potentially unreliable sources is a common task in computing, so why not give those young padawans a good head start by teaching the recommended techniques?
3. What I plan to do (Optional but better).
Study the Streams API and see if I can come up with a pull request for the docs, but don't get your hopes too high,- I consider myself still a padawan regarding node.js.
3b. What I believe should be updated (at the request of @ovflowd).
Provide a small example in Reading files with Node.js, if possible, that uses the Streams API as hinted in the last sentence of Reading files with Node.js: "...In this case, a better option is to read the file content using streams."
The text was updated successfully, but these errors were encountered: