import * as events from '@sodra/events'
const handler = (e) => {
console.log("bar")
}
events.addListener('foo', handler)
events.emit('foo')
@sodra/events
1.0.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @sodra/events
Weekly Downloads
0
Version
1.0.1
License
ISC