![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | lib/ | 2024-10-02 08:35 | - | |
![]() | LICENSE | 2024-10-02 08:35 | 11K | |
![]() | index.js | 2024-10-02 08:35 | 5.9K | |
![]() | package.json | 2024-10-02 08:35 | 609 | |
![]() | README.md | 2024-10-02 08:35 | 281 |
# 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