watch-proxy
v0.0.2
Published
Wrap the proxy-observer with custom observers
Downloads
3
Maintainers
Readme
Watch Proxy
Status
Overview
Based on the proxy-observe module this wrapper was created to handle events to each proxy-observe;
The main point is create a watch event to an object and observe object changes;
Installation
npm install watch-proxy
let watchProxy = new WatchProxy();
let objectProxy = watchProxy.watch('object:proxy', {});
watchProxy.observe('object:proxy', (changes) => {
console.log('changes:', changes);
})
objectProxy.property = {}
Feedback
Please open issues to improve this module;