Hello I have a question with node.js mainly with creating new larger files.
I understand how to do stuff such as
fs.writeFile('ss.js', 'console.log("hello")');
But my problem comes when I need to create a file that has 5 or more lines, AKA all the files. I'm not sure where to even start on this problem. I've been through a lot of tutorials and all of them jusy say, "Now create a file and fill it with these lines of code.", but none of them actually go indepth into how to create a file with multiple lines of code.
Greatly appreciated if anyone can go over this basic step. Thanks!