Preparing for system design interviews?  Try bugzed.com →

decache

JSON →
library 4.6.2 ·javascript
verified Jun 7, 2026

decache is a lightweight utility (v4.6.2, stable, low maintenance) that deletes a module from Node.js require.cache, enabling fresh require() calls for testing or hot-reloading. It works with .js, .json, and other extensions, but ignores native .node modules. Unlike alternatives that require hacking require.cache directly, decache handles edge cases (e.g., parent module references) and includes TypeScript definitions. Released under MIT, with a small footprint and no dependencies.

total hits 16
actors 5 distinct systems
last hit 17d ago AhrefsBot
ByteDance
4
GPTBot
3
Amazonbot
3
Humans
4

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇮 Finland