rabin ef108495d0 edit 8 달 전
..
lib ef108495d0 edit 8 달 전
LICENSE ef108495d0 edit 8 달 전
README.md ef108495d0 edit 8 달 전
index.js ef108495d0 edit 8 달 전
package.json ef108495d0 edit 8 달 전

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