remove-empty-dir
v1.0.0
Published
Used to remove empty folder.
Downloads
2
Maintainers
Readme
Used to remove empty folder.
Usage
- Asynchronously
var removeEmptyDir = require("remove-empty-dir");
removeEmptyDir(path, options).then(function(removedDirs){
//...
});
- Synchronously
var removeEmptyDir = require("remove-empty-dir");
var removedDirs = removeEmptyDir.sync(path);
//...
Asynchronous Options
onerror {Function}
Handle for errors while attemptting to remove dirs.