{"library":"flush-cache","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"1.0.1","tags":["javascript","cache","flush","delete","remove"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install flush-cache","imports":["const flushCache = require('flush-cache')","import { createRequire } from 'module';\nconst require = createRequire(import.meta.url);\nconst flushCache = require('flush-cache');","import flushCache = require('flush-cache');"]},{"cmd":"yarn add flush-cache","imports":[]},{"cmd":"pnpm add flush-cache","imports":[]}],"homepage":"https://github.com/steebchen/flush-cache#readme","github":"https://github.com/steebchen/flush-cache","docs":null,"changelog":null,"pypi":null,"npm":"flush-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}