rm-rf

rm -rf with glob

rimraf (rm -rf) with glob

var rmrf = require('rm-rf')
 
rmrf('**/*.js', function (error) {
  // done 
});
$ npm install rimraf-glob