get content from file in node js 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);
});