proxy-any
Proxy all properties as anonymous function, including the properties and return value of this function.
Getting started
$ npm install --save proxy-any
Usage
; const sdk = ;
- What ever you type, always will work without error.
- No more to do any fallback in different environment.
; windowsdk = windowsdk || ; sdkcomponent; sdkwidget;
Access unlimitedly
sdkapiwwwgithubcom; sdktableusername = 'lixinliang';
Invoke unlimitedly
sdk'like''currify''!';
Chaining unlimitedly
sdk;
Proxy handler
- Your fallback code could be written in handler.
ProxyAny;
Error handler
- Do some error report or debug.
ProxyAny { console;};
License
MIT