LarpixClient/node_modules/bare-events
2026-05-03 17:09:55 +02:00
..
lib Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
global.d.ts Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
global.js Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
index.d.ts Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
index.js Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
LICENSE Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
package.json Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
README.md Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
web.d.ts Add capacitorjs runtime 2026-05-03 17:09:55 +02:00
web.js Add capacitorjs runtime 2026-05-03 17:09:55 +02:00

bare-events

Event emitters for JavaScript.

npm install bare-events

Usage

const EventEmitter = require('bare-events')

const e = new EventEmitter()

e.on('hello', function (data) {
  console.log(data)
})

e.emit('hello', 'world')

License

Apache-2.0