pfs
A tiny promise wrapper around fs
Install
$ yarn add pfs # or npm $ npm install --save pfs
Use
Exactly how you would use fs
. This is a drop-in replacement that converts any callback-based functions to promises
const fs = // now uses promisefs // still works the samefs // properties are also unchangedfsconstantsR_OK