/ c4f / front / node_modules / bare-events /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]lib/8 months ago -  
[   ]LICENSE8 months ago 11K 
[TXT]README.md8 months ago281  
[   ]index.js8 months ago5.9K 
[   ]package.json8 months ago609  
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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80