Answers for "node delete directory"

0

delete dir nodejs

fs.rmdirSync(dir, { recursive: true });
Posted by: Guest on August-06-2020
0

how to delete a folder using node js

fs.unlink('./node/myText.txt',function(){
    fs.rmdir('node');
});
Posted by: Guest on February-12-2021
0

nodejs fs delete non empty directory

rimraf.sync("/some/directory");
Posted by: Guest on November-24-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language