Skip to content

Instantly share code, notes, and snippets.

@scottharvey
Created August 24, 2010 03:34
Show Gist options
  • Save scottharvey/546886 to your computer and use it in GitHub Desktop.
Save scottharvey/546886 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