async-file-manipulation
v1.0.1
Published
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)
Downloads
3
Readme
description
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).
to use simply import the library and use the functions provided:
- writeFileAsync(path, data)
- appendFileAsync(path, data)
- readFileAsync(path, format (is set to default as "utf-8"))
- openFileAsync(path, mode)
- renameFileAsync(oldPath, newPath)
- deleteFileAsync(path)