Difficulty: 5/10custom readable streams, backpressure, stream pipingHere's how you can do it:A readable stream is typically used to handle input, such as reading from a file or generating data programmatically. For example:CopyReadable streams can be consumed in three ways: using event listeners, the method, or async iterators. Here are examples:CopyScenario Questions0-2 years experience1How would you implement a simple readable stream that emits the numbers 1 through 10?2If you pipe that readable stream into a writable file stream and the file system is slower than the data generation, what does Node do?2-5 years experience1We need to process a large CSV file line‑by‑line without loading it all into memory. How would you set up a readable stream for this, and which options would you tune?Follow-up QuestionsWhat would you change if the data source was asynchronous, like a database query?How does Node decide when to pause or resume a readable stream?Can you describe how you would test that your stream correctly handles backpressure?Suggest Improvement