Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
lib/ | 2024-05-21 17:04 | - | ||
package.json | 2024-05-21 17:04 | 609 | afd0ccc remove unused [كارل مبارك] | |
README.md | 2024-05-21 17:04 | 281 | 595aea1 more query options + view options [كارل مبارك] | |
index.js | 2024-05-21 17:04 | 5.9K | ||
LICENSE | 2024-05-21 17:04 | 11K |
# 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