The UNIX command rm -rf for node. Install with npm install rimraf, or just drop rimraf.js somewhere. rimraf(f, [opts], callback) The first parameter will be interpreted as a globbing pattern for files. If you want to disable globbing you can do so with opts.disableGlob (defaults to false). This might be handy, for instance, if you have filenames that …
