kc-fread
v1.0.8
Published
[nodejs] fs.readFile wrapper.
Downloads
2
Readme
Fread
[nodejs] fs.readFile wrapper.
Install
npm install kc-fread
Use
var fread = require('kc-fread');
var str = fread('my-file.txt');
console.log(str);
## Async usage
fread('my-file.txt', function(err, str){
console.log(data);
});