tinyevt
Convert any object in a tiny (868bytes) custom event manager.
Usage
var tinyevt = require('tinyevt');//Convert a custom objectvar obj = {};tinyevt(obj);//define eventvar def = obj.on('pikachu',function(){console.log('Pica pica pica chu!');});//fire eventobj('picachu',{who:'pikachu'});//detachdef();//define eventvar def = obj.on('pikachu',function(){console.log('Pica pica pica chu!');});//fire event and detach allobj('picachu',{who:'pikachu'},true);obj('picachu',{who:'pikachu'}); //nothing happens