fs-es6-promise
v0.0.3
Published
ES6 promise wrapper around fs
Downloads
45
Readme
fs-es6-promise
ES6 promise wrapper around nodejs file system api
Installation
$ npm install -g fs-es6-promise
Usage
const fs = require('fs-es6-promise');
fs.access('/etc/passwd', fs.F_OK)
.then((result)=>{})
.catch((error)=>{});
References
- fs-promise fs promise support for older version of nodejs
- File system Nodejs file system api
- promise ES6 promise api