Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to delete a folder using node js

fs.unlink('./node/myText.txt',function(){
    fs.rmdir('node');
});
Source by iq.opengenus.org #
 
PREVIOUS NEXT
Tagged: #delete #folder #node #js
ADD COMMENT
Topic
Name
2+9 =