foundry-dsa41-game/node_modules/bare-events
macniel 9de1531058
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s Details
chore: building the architecture
2025-09-25 13:07:30 +02:00
..
lib chore: building the architecture 2025-09-25 13:07:30 +02:00
LICENSE chore: building the architecture 2025-09-25 13:07:30 +02:00
README.md chore: building the architecture 2025-09-25 13:07:30 +02:00
global.d.ts chore: building the architecture 2025-09-25 13:07:30 +02:00
global.js chore: building the architecture 2025-09-25 13:07:30 +02:00
index.d.ts chore: building the architecture 2025-09-25 13:07:30 +02:00
index.js chore: building the architecture 2025-09-25 13:07:30 +02:00
package.json chore: building the architecture 2025-09-25 13:07:30 +02:00
web.d.ts chore: building the architecture 2025-09-25 13:07:30 +02:00
web.js chore: building the architecture 2025-09-25 13:07:30 +02:00

README.md

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