Skip to content

Instantly share code, notes, and snippets.

@dynajoe
Created May 1, 2013 01:55
Show Gist options
  • Save dynajoe/5493293 to your computer and use it in GitHub Desktop.
Save dynajoe/5493293 to your computer and use it in GitHub Desktop.
fs.readFile('file.txt', function (err, contents) {
//do something useful with contents
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment