1.0.0 • Published 9 years ago
electron-fs-extra v1.0.0
electron-fs-extra
use fs-extra at electron render process
how to use
the same with fs-extra
import fs from 'electron-fs-extra';
async readFile(filePath) {
return await fs.readFile(filePath)
}
readFile(filePath);Note
must install fs-extra first at project
$ yarn add fs-extra
# or
$ npm install fs-extra -S1.0.0
9 years ago