This commit is contained in:
Tomáš Dvořák
2025-10-03 16:26:44 +02:00
parent 0fc92f8464
commit cdb8bcd3e9
5928 changed files with 1054476 additions and 72 deletions
+25
View File
@@ -0,0 +1,25 @@
# 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