npm -g install xee
git clone https://github.com/Daeren/xee.git
Goals:
- Low memory usage;
- Maximum performance;
- Flexibility;
- Games.
> npm run benchmark x 1: 103341ms x 1 + data x 1: 88518ms x 2: 117172ms x 2 + data x 1: 130805ms^|events|------------------ x 1: 103220ms x 1 + data x 1: 80880ms x 2: 103022ms x 2 + data x 1: 74249ms^|eventemitter3|------------------ x 1: 57047ms x 1 + data x 1: 53256ms x 2: 74014ms x 2 + data x 1: 66940ms^|xee|------------------
Packet type
Name | Note |
---|---|
- | |
on(type, listener) | |
once(type, listener) | |
off([type, listener]) | |
- | |
emit(type[, ...args]) | |
- | |
listenerCount(type) |
License
MIT