eventemitter-light
Tiny event emitter for node and the browser
Status: Beta
Example
var EventEmitter = ; var ee = Objectconstructor; ee;ee; { console;}
Motivation
EventEmitter2 is 2kb. That's far too much. EE-light is a sensible 250bytes
Documentation
It's like EventEmitter build into node.
ee ee;// works { console; }
Supported methods
- on
- emit
- removeListener
- once
Installation
npm install eventemitter-light
Test
make test
Contributors
- Raynos