标签:
//读文件var fs=require("fs");fs.readFile("index.html","utf-8",function(err,data){ console.log(data);});
nodejs读文件
原文地址:http://www.cnblogs.com/shenyulin/p/4445782.html