co-fs
fs wrappers for 'co'
Last updated 6 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 (6 years ago)

5 Versions

  • 1.2.0                                ...           6 years ago
  • 1.1.1                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 23
This Week 23
This Month 516
Last Day 15
Last Week 847
Last Month 2,351
Dependencies (2)
Dev Dependencies (3)
Dependents (229)

Copyright 2014 - 2016 © taobao.org |