cloak.js
A small AOP/Proxy/Wrapper library with a fluent interface
Basic examples
{ console; console;} ; window; //The result will be in the console (warn): "don't use alerts please!" //Then in the console (log): "test" //you can also conditionally cloak things//This example would use a custom logger when 'myIETest' is true//Otherwise it would just use console.log callOriginal;
Installation
npm install --save-dev cloakjs
or
bower install cloakjs
Documentation
To learn more checkout the documentation page