rabin ef108495d0 edit 8 months ago
..
lib ef108495d0 edit 8 months ago
LICENSE ef108495d0 edit 8 months ago
README.md ef108495d0 edit 8 months ago
index.js ef108495d0 edit 8 months ago
package.json ef108495d0 edit 8 months ago

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