Search results
26 packages found
A simple and generic JavaScript Event Emitter class for implementing the Observer Pattern, now with support for AbortController for automatic listener removal.
- EventEmitter
- addEventListener
- addListener
- emit
- browser
- emitter
- event
- subscribe
- observer
- pattern
- listener
- abort controller
- abort signal
an observer pattern while avoiding boilerplate code. https://en.wikipedia.org/wiki/Signals_and_slots
Create 0-coupling declarative event-bound components with functions and objects only. Build flexible apps for the browser.
- OD
- obs
- disp
- observer
- command
- pattern
- dispatcher
- dispatch
- declarative
- event-bound
- event
- component
- uni-directional
- no-coupling
- View more
This library provides a TypeScript mixin that adds observable behavior to a class, allowing observers to listen for changes in properties and trigger effects before or after method calls. The library uses TypeScript's type system to ensure type safety and
Simple observer/subject TypeScript interfaces including corresponding mock classes for unit testing
Fast, asynchronous, and regex-enabled event framework for Node.js
A simple implementation of the observer pattern.
Decorating a JS object with an observable pattern
traditional observer pattern realization
Observe and react to EventSources
A simple observer pattern implementation in javascript.
tools for behavior, delegation, and state in typescript
- event
- proxy
- state
- forward
- pattern
- behavior
- delegate
- iterator
- observer
- reference
- delegation
- forwarding
- vectorized
an implementation of the observer pattern in node using event emitter
Interfaces to help working with the Observer Pattern
Collection of singleton observers for browser events
A simple observer pattern implementation for React
Simple library implementing event-emitter pattern
Event emitter based on standard EventTarget
- EventEmitter
- EventTarget
- EventDispatcher
- EventBus
- pub/sub
- observer
- mediator
- subscribe
- publish
- dispatch
- emit
- listener
- events
- addEventListener
- View more
obs-disp usage examples to get you started
An implementation of the observer pattern with type safety