fresh-require

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

Bypass the Node.js require cache to reload modules fresh, avoiding stale cached versions. v1.0.3 is the latest stable release; the package is in maintenance mode with no active development. It supports both plain Node and Browserify (via a transform). Unlike other cache-busting utilities, it requires explicitly passing your local require function, making it safe for bundled use. Works by deleting the cached module entry before re-requiring. Current NPM downloads: ~2k/month.