26 lines
281 B
Markdown
Raw Normal View History

# bare-events
Event emitters for JavaScript.
```
npm install bare-events
```
## Usage
``` js
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