Safer Monkeypatching in Javascript


Summary of my bookmarked Github repositories from Jun 11th, 2016

Github repositories

  • othiym23/shimmer

    Shimmer is a Node.js module that provides safer monkeypatching capabilities. It allows you to wrap methods in a provided wrapper function, enabling you to modify their behavior. The module is designed to be unobtrusive and logs errors instead of throwing exceptions. Shimmer supports monkeypatching on objects, instances, prototypes, or modules obtained through `require`. It also provides functions for mass wrapping and unwrapping of methods across multiple modules. By using Shimmer, you can modify default behavior in JavaScript and Node.js when necessary, ensuring greater control over runtime functionality.