Awesome 社区模块

@fibjs/rmdirr

NPM version build status appveyor build status Test coverage David deps Known Vulnerabilities npm download

remove all files and directories like rmdir -rf in fibjs.

Install

1
$ npm i @fibjs/rmdirr --save

Usage

1 2 3 4 5 6 7 8
const rmdirr = require('@fibjs/rmdirr'); try{ rmdirr('/tmp/a/c/d/e'); } catch(err) { console.error(err); }

Questions & Suggestions

Please open an issue here.

License

MIT