|
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Details
|
||
|---|---|---|
| .. | ||
| lib | ||
| LICENSE | ||
| README.md | ||
| global.d.ts | ||
| global.js | ||
| index.d.ts | ||
| index.js | ||
| package.json | ||
| web.d.ts | ||
| web.js | ||
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