co-fs
fs wrappers for 'co'
Last updated 13 years ago by tjholowaychuk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install co-fs 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.2.0                                ...           latest (12 years ago)

5 Versions

  • 1.2.0                                ...           12 years ago
  • 1.1.1                                ...           12 years ago
  • 1.1.0                                ...           12 years ago
  • 1.0.1                                ...           13 years ago
  • 1.0.0                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (3)

Copyright 2013 - present © cnpmjs.org | Home |