nodejs core fs module thunk wrappers for "co"
JavaScript
Latest commit 87c1e3d Mar 17, 2014 @tj Release 1.2.0
Failed to load latest commit information.
examples Initial commit Jun 5, 2013
test wrap .createReadStream Feb 9, 2014
.gitignore Initial commit Jun 6, 2013
History.md Release 1.2.0 Mar 17, 2014
Makefile Initial commit Jun 6, 2013
Readme.md docs Aug 3, 2013
index.js wrap .createReadStream Feb 9, 2014
package.json Release 1.2.0 Mar 17, 2014

Readme.md

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