https://github.com/re-js/evemin
Modern and blazing fast event emitter
https://github.com/re-js/evemin
Last synced: 8 months ago
JSON representation
Modern and blazing fast event emitter
- Host: GitHub
- URL: https://github.com/re-js/evemin
- Owner: re-js
- License: mit
- Created: 2022-07-28T17:33:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T00:00:40.000Z (about 2 years ago)
- Last Synced: 2025-03-25T09:52:50.246Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 108 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# evemin
[](https://www.npmjs.com/package/evemin) [](https://bundlephobia.com/result?p=evemin) [](https://coveralls.io/github/re-js/evemin) [](index.d.ts)
Modern and blazing fast event emitter
- Zero-cost abstraction
- High performance
- Super small
🌈 2x times faster standard node.js event emitter
```javascript
import { event, listen } from 'evemin'
const onStart = event()
listen(onStart, (v) => console.log('start', v))
onStart(1) // developer console output: start 1
```
[](https://runkit.com/betula/62f6253e0533460009786124)
Installation
```bash
npm install evemin
```
Enjoy your code!