co-fs

fs wrappers for 'co'

co-fs

Node core fs wrapped functions that return thunks for co.

$ 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