Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
nodejs core fs module thunk wrappers for "co"
JavaScript
Branch: master

Release 1.2.0

latest commit 87c1e3dcbe
@tj authored
Failed to load latest commit information.
examples Initial commit
test wrap .createReadStream
.gitignore Initial commit
History.md Release 1.2.0
Makefile Initial commit
Readme.md docs
index.js wrap .createReadStream
package.json Release 1.2.0

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

Something went wrong with that request. Please try again.