Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to delete a folder in node js

//DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. 
//Use fs.rm(path, { recursive: true }) instead
fs.rm(path, { recursive: true })
Source by attacomsian.com #
 
PREVIOUS NEXT
Tagged: #delete #folder #node #js
ADD COMMENT
Topic
Name
5+3 =