readfiles
v1.0.0
Published
Async read of an array of files. Reduces callback hell.
Downloads
5
Readme
var readFiles = require('../index.js')
var files = ["test1.txt","test2.txt"]
readFiles(files,function(e,contents) {
if(e) return console.log(e.stack)
console.log(contents)
})