read-remove-file
Read a file, then remove it
const readRemoveFile = ; ;
Installation
npm install read-remove-file
API
const readRemoveFile = ;
readRemoveFile(filePath [, options])
filePath: String
options: Object
or String
(fs.readFile
options)
Return: Promise
It reads a file, removes the file and returns a promise of the file contents.
;
License
ISC License © 2018 Shinnosuke Watanabe