flush-cache

JSON →
library 1.0.1 ·javascript maintenance
verified Jun 7, 2026

Flush the Node.js internal require cache, ensuring modules are re-evaluated fresh on subsequent require() calls. Current version 1.0.1, last updated 2017, no active development or known releases since. Key differentiator: simple, single-function library that clears the entire module cache recursively, useful for writing isolated tests in Mocha or AVA. Minimal alternative to more feature-rich cache-busting tools or manual cache management.