Skip to content

vitormsilva/watch-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

wrap the proxy-observer with custom observers

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors