co-fs-extra

fs-extra for 'co'

MIT 8 个版本
安装
npm install co-fs-extra
yarn add co-fs-extra
pnpm add co-fs-extra
bun add co-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

版本列表
1.2.1 2016-02-19
1.2.0 2016-02-18
1.1.0 2015-07-21
1.0.1 2014-11-07
1.0.0 2014-10-28
0.1.0 2014-10-28
0.0.2 2014-09-23
0.0.1 2014-09-23