Preparing for system design interviews?  Try bugzed.com →

require-middleware

JSON →
library 1.0.0 ·javascript
verified Jun 17, 2026

Inject middleware into Node.js require() calls before they hit the cache, file system, or native modules. Version 1.0.0 is the initial stable release. It allows intercepting and transforming modules at load time, useful for instrumentation, mocking, or polyfilling. Differentiates by operating at the require level rather than module-level hooks, providing a middleware pipeline similar to Express.

total hits 13
actors 3 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
Script
1
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany