super-event-emitter
Version:
🔨 Lightweight and simple interpretation of popular event management
14 lines (13 loc) • 383 B
Plain Text
/**
* @author Piotr Kowalski <piecioshka@gmail.com> (https://piecioshka.pl/)
* @name super-event-emitter
* @description 🔨 Lightweight and simple interpretation of popular event management
* @version 5.0.3
* @license MIT
* @example
* const bar = new SuperEventEmitter();
* bar.on('foo', function () {
* console.log('foo event emitted');
* });
* bar.emit('foo');
*/