File System In Node.js
Node.js includes fs module to access physical file system. The fs module is responsible for all the asynchronous or synchronous file I/O operations. Reading File Use fs.readFile() method to read the physical file asynchronously. Writing File Use fs.writeFile() method to write data to a file. If file already exists then it overwrites the existing content […]