@sagacious/fs-wrapper
v0.0.4
Published
enhanced the functionality of the fs module
Downloads
2
Readme
🐴 fs-wrapper
enhanced the functionality of the fs module
Note
- Currently does not modify the node's fs module, enjoy it.
Future
Two modes will be provided, one for function names that override fs, and one for templates like
${FunctionName}Pro
.Rewrite unimplemented functions, currently using fs-extra package instead.
Api
readDirPro
readDir's promise version, add deep option, recursively get all
fs.readDirPro(path, { // other options deep: true })
readDirProSync
synchronized readDirPro
mkdirPro
like fs-extra's ensureDir
mkdirProSync
synchronized mkdirPro