tabeventbus
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

tabEventBus

example

// yarn add tabeventbus or npm i -S tabeventbus

const eventBus = new tabeventbus.StorageEventBus({
  isDev: () => true
})

eventBus.on('someEvent', ([data]) => {

  console.log(data)
})

eventBus.emit('someEvent', {msg: 'hello world'})

Readme

Keywords

none

Package Sidebar

Install

npm i tabeventbus

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

71.8 kB

Total Files

21

Last publish

Collaborators

  • cjfff