clear-module lets you clear modules from the Node.js module cache. This is particularly useful for testing, allowing you to isolate module behavior and prevent stale cache interference during repeated test runs. The package provides flexible methods for clearing specific modules, entire directories, or even the entire cache. This helps ensure a clean slate when testing modules that rely on global state or have caching mechanisms. It supports exact module path matching and pattern-based selection for nuanced cache management.