Stream API Lab
In this lab, you'll work with Node.js Stream API to create a Readable and Transform stream. You'll create a stream that emits numbers from 1 to 10, then transform the numbers to their squares, and finally pipe the output to a file named 'squares.txt'. Make sure to export the
streamApi function which runs the whole process.