Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 571 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 571 Bytes

NPM

co-fs-extra

'fs-extra' wrapped functions that return thunks for co.

Installation

$ npm install co-fs-extra --save

API

see more -> fs-extra

Example

Use all the regular async fs functions without callback hell:

var json = yield fs.readFile('package.json', 'utf8')
var file = yield fs.ensureFile('hello.txt')

License

MIT