@happyvibess/node-cleaner
Version:
🧹 Interactive CLI tool to find and clean node_modules directories and free up space
14 lines (10 loc) • 296 B
JavaScript
export { hooks, setHookCallback };
var hookCallback;
function hooks() {
return hookCallback.apply(null, arguments);
}
// This is done to register the method called with moment()
// without creating circular dependencies.
function setHookCallback(callback) {
hookCallback = callback;
}