Return to Snippet

Revision: 37999
at December 22, 2010 01:36 by BenClayton


Initial Code
var fs = require('fs');
var file = fs.readFileSync(path, "utf8");
console.log(file);

Initial URL

                                

Initial Description

                                

Initial Title
Node.js:  Syncronously read a file into a string

Initial Tags

                                

Initial Language
JavaScript