0.0.2 • Published 7 years ago

watch-proxy v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Watch Proxy

Status

Codacy Badge Build 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;