621 B
621 B
co-fs-extra
'fs-extra' and 'fs' wrapped functions that return thunks for co.
Installation
$ npm install co-fs-extra
API
see more -> fs-extra and co-fs
Example
Use all the regular async fs functions without callback hell:
var json = yield fs.readFile('package.json', 'utf8')
var file = yield fs.ensureFile('htllo.txt')
License
MIT