node fs reade fil 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);
});