Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

co-fs-extra

GKuChan129.6kMIT1.2.1

fs-extra for 'co'

co, fs, fs-extra

readme

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

changelog

1.2.1 / 2016-02-19

  • fix: add methods

1.2.0 / 2016-02-18

1.0.0 / 2014-10-28

  • do not modify original fs-extra
  • support all fs-extra methods, include sync methods