Node.js implementation of rm -fr
– recursive removal of files and directories
A native module for effectively working with files built on top of Node's famous fs module.
recursively finds files and/or directories by filter options from a start directory onwards and deletes these according to plenty of options you can configure. useful if you want to clean up stuff within a directory in your node.js app.