Skip to content

Instantly share code, notes, and snippets.

@SarveshKadam
Created October 24, 2020 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SarveshKadam/17dc243be300a9ca1c9f625b288583ea to your computer and use it in GitHub Desktop.
Save SarveshKadam/17dc243be300a9ca1c9f625b288583ea to your computer and use it in GitHub Desktop.
fs.readFile('./file.txt','utf-8',(err,data)=>{
if (err) throw err
console.log(data);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment