EventEmitter
Simplified EventEmitter
Installation
UMD or ESM
Usage
var emitter = new EventEmitter()
emitter.on('event', function (data) {
console.log('on event', data)
})
emitter.emit('event', 'data')
JavaScript EventEmitter
Homepage Repository npm JavaScript Download
npm install @gidw/event-emitter-js@1.1.5
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.
Learn more →Something wrong with this page? Make a suggestion
Export .ABOUT file for this package
Last synced: 2022-04-05 16:40:33 UTC
Login to resync this project