Taobao Frontend Technology
Oct 27, 2016 · Backend Development
How to Hack Node.js Modules Without Changing Their Source Code
This article explains why and how to hack Node.js modules by manipulating the module cache, require.cache, or the require function itself, providing practical code examples and discussing related internals, pitfalls, and real‑world use cases.
backend-developmentmodule-hackingnodejs
0 likes · 14 min read
