@zkochan/pnpm
Version:
A fast implementation of npm install
28 lines (17 loc) • 621 B
Markdown
[](https://nodei.co/npm/co-fs-extra/)
# co-fs-extra
'fs-extra' and 'fs' wrapped functions that return thunks for [co](https://github.com/visionmedia/co).
## Installation
```
$ npm install co-fs-extra
```
## API
see more -> [fs-extra](https://www.npmjs.org/package/fs-extra) and [co-fs](https://www.npmjs.org/package/co-fs)
## Example
Use all the regular async fs functions without callback hell:
```js
var json = yield fs.readFile('package.json', 'utf8')
var file = yield fs.ensureFile('htllo.txt')
```
## License
MIT