node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

@fibjs/rmdirr

@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

$ npm i @fibjs/rmdirr --save

Usage

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