2011-03-22 MicroEvent.js is a event emitter library which provides the observer pattern to javascript objects. It works on node.js and browser. It is a single .js file containing a 20 lines class for a total of 321-bytes after minification+gzip. How to Use It You need a single file microevent.js. Include it in a webpage via the usual script tag. <script src="microevent.js"></script> To include it