tahamajs's picture
|
download
raw
280 Bytes

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

Xet Storage Details

Size:
280 Bytes
·
Xet hash:
c308bdc5a7721d9e97c0b0115e4c0f82b14ee0f03dfe7929743a440a54a3ec06

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.