packages/abuser/index.js
function clean(route) {
		// Resolve module location from given path
		const filename = _require.resolve(route);

		// Escape if this module is not present in cache
		if (!_require.cache[filename]) {
			return;
		}

		// Remove all children from memory, recursively
		shidu(filename);

		// Remove module from memory as well
		delete _require.cache[filename];
	}
function clean(route) {
		// Resolve module location from given path
		const filename = _require.resolve(route);

		// Escape if this module is not present in cache
		if (!_require.cache[filename]) {
			return;
		}

		// Remove all children from memory, recursively
		shidu(filename);

		// Remove module from memory as well
		delete _require.cache[filename];
	}
function clean ( route ) { // Resolve module location from given path const filename = _require . resolve ( route ) ; // Escape if this module is not present in cache if ( ! _require . cache [ filename ] ) { return ; } // Remove all children from memory, recursively shidu ( filename ) ; // Remove module from memory as well delete _require . cache [ filename ] ; }
Clean up a module from cache
@param  {String} route
@return {undefined}
Clean up a module from cache