This is a 'fs' promising wrapper for file operations which contains various fs-related common tasks. it will make your code more concise, neat and efficient.
promisify-fs aims to make file operation more intuitive. In addition, to make code more concise and neat. All methods are constructed by following promising way.
var fs = ;fs//many options in stat, please refer to//fsfsfs
- readFile(file_path[, options])
- writeFile(file_path, data[, options])
if data is neither
JSON.stringifywill be applied with extra two optional params in options,[replacer][space]
YOU KNOW WHAT YOU ARE DOING !!!!! forcely to delete all files in this folder recursively.
It will create folders recursively by default.
clone folder or files within it to a dest folder.
If you want to have all asynchronous methods operating file, please refer to bluebird library.