Node.js File System

53.3% Acceptance

In this lab, you will practice using Node.js File System (fs) module to read and write file content. You have to create and export a default function called 'readFile' that reads the contents of a text file named 'file.txt'. Additionally, you should create a second function named 'writeFile' to write 'Hello from Node.js File System' to a new file called 'newFile.txt'.