SHARE
TWEET

Untitled

a guest Aug 12th, 2017 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function readFileCallback(err,data){
  2.   if (err){
  3.     console.log('Error Read File :' + err);
  4.   }else{
  5.     console.log(data.toString())
  6.   }
  7. }
  8. var data = fs.readFile('hello.md',readFileCallback)
RAW Paste Data
Top