index.js 262 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 var rimraf = require('rimraf') function removeSync (dir) { return rimraf.sync(dir) } function remove (dir, callback) { return callback ? rimraf(dir, callback) : rimraf(dir, function () {}) } module.exports = { remove: remove, removeSync: removeSync }