how to readfile in nodejs code example
Example: javascript fs read
fs.readFile('/etc/passwd', (err, data) => {
if (err) throw err;
console.log(data);
});
fs.readFile('/etc/passwd', (err, data) => {
if (err) throw err;
console.log(data);
});