var fs = require('fs')
function(cb){
fs.readFile(process.argv[2], function(err, data){
if (err){
cb(err);
} else {
cb(null, data.toString())
}
})
}
Created
November 22, 2014 12:51
-
-
Save sejoker/bf350d2a2ef64aa8a0e8 to your computer and use it in GitHub Desktop.
fs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment