Node core fs wrapped functions that return thunks for co.
fs
$ npm install co-fs
Use all the regular async fs functions without callback hell:
var json = yield fs.readFile('package.json', 'utf8') var files = yield fs.readdir('/tmp')
MIT