Files
pdf-manager/node_modules/bare-events/README.md
2025-05-13 12:01:17 +02:00

280 B

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