Skip to content

Instantly share code, notes, and snippets.

@scottharvey
Created August 18, 2010 11:21
Show Gist options
  • Save scottharvey/534375 to your computer and use it in GitHub Desktop.
Save scottharvey/534375 to your computer and use it in GitHub Desktop.
var fs = require('fs');
fs.readFile('./readme.txt', function (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