monkey patching

Changing how existing code behaves at run time by replacing its functions or properties from the outside.

In more detail

Old Node.js tools changed module loading by patching require.extensions, which is now deprecated. Module customization hooks give a supported way to do the same job.

Related terms

Taught in

References