co-fs

fs wrappers for 'co'

npm install co-fs
31 downloads in the last day
159 downloads in the last week
669 downloads in the last month

co-fs

Node core fs wrapped functions that return thunks for co.

Installation

$ npm install co-fs

Example

Use all the regular async fs functions without callback hell:

var json = yield fs.readFile('package.json', 'utf8')
var files = yield fs.readdir('/tmp')

License

MIT

npm loves you