How to use the emptyDirSync function from fs-promise
Find comprehensive JavaScript fs-promise.emptyDirSync code examples handpicked from public code repositorys.
GitHub: gdnmobilelab/file-io
8 9 10 11 12 13 14 15 16 17 18 19
const {S3_BUCKET, IO_LOCAL_PATH} = process.env; if (IO_LOCAL_PATH) { fs.emptyDirSync(IO_LOCAL_PATH); const http = require('http'); const static = require('node-static');
0
0
0
+ 3 other calls in file
fs-promise.writeJson is the most popular function in fs-promise (6458 examples)