promisification of the most widely used file operation allowing you to use them while avoiding callback hell (while giving the default callback of giving the content or throwing an exception and nothing more)
promisification of the most widely used file operation allowing you to use them while avoiding callback hell (while giving the default callback of giving the content or throwing an exception and nothing more).
$3
- writeFileAsync(path, data)
- appendFileAsync(path, data)
- readFileAsync(path, format (is set to default as "utf-8"))
- openFileAsync(path, mode)
- renameFileAsync(oldPath, newPath)
- deleteFileAsync(path)