Skip to content

About

Event emitters for JavaScript

Resources

Stars

9 stars

Watchers

17 watching

Forks

Repository files navigation

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')

API

See the bare-events reference.

License

Apache-2.0

About

Event emitters for JavaScript

Resources

Stars

9 stars

Watchers

17 watching

Forks

Used by

Contributors

Languages