@fibjs/rmdirr
remove all files and directories like rmdir -rf in fibjs.
Install
1$ npm i @fibjs/rmdirr --save
Usage
1
2
3
4
5
6
7const rmdirr = require('@fibjs/rmdirr');
try{
rmdirr('/tmp/a/c/d/e');
} catch(err) {
console.error(err);
}
Questions & Suggestions
Please open an issue here.