walky-talky
EventListeners can easily go out of hand if not used with utmost care, walky-talky is a tiny JS library to create a message channel using Publish/Subscribe pattern.
Installation
yarn add walky-talky
or
npm install walky-talky --save
Usage
// module.js; { // some logic};// subscribe to a custom action typeWalkyTalky; // app.js;// publish the action type with the data objectWalkyTalky;
Like it?
⭐️ this repo
License
MIT © Kamlesh Chandnani