Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NodeJS file read
fs.readFile(filePath, (err, result) => {
if (err) { console.log(err); }
console.log(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment