File System Operations Lab

66.7% Acceptance

In this lab, you will practice simple file system operations using Node.js. You will create two functions: 'readFile' and 'writeFile'. These functions should accept a file path and, for writeFile, the content to be written to the specified path. Both functions should be async and make use of the 'fs.promises' module. Make sure to export these functions using ESM syntax.