npm.io
1.2.0 • Published 12 years ago

co-fs

Licence
MIT
Version
1.2.0
Deps
2
Vulns
0
Weekly
0
Stars
106

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

Keywords