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