Working with the Node.js File System
Firstly, we'll import the file system core module
const fs = require('fs');
Next, Let's read data from a file
fs.readFile('./notes.md', (err, data) => {
if (err) {
console.log(err);
}
console.log(data.toString());
});
Great, we'll see how t...
blog.godswillumukoro.com1 min read