Cross platform, asynchronous EventEmitter.

======== Event.js ========

Cross platform, asynchronous EventEmitter.

.. image:: https://travis-ci.org/kevinconway/Event.js.png?branch=master :target: https://travis-ci.org/kevinconway/Event.js :alt: Current Build Status

What Is Event?

Event.js is an implementation of the EventEmitter API that works in both Node.js and the browser. It should be compatible with every JavaScript inheritance utility (such as util.inherits). Alternatively, it also has its own inheritance utilities built in powered by Modelo.js <https://github.com/kevinconway/Modelo.js>_.

Show Me


var Person = Event.extend(),
    somePerson = new Person();

somePerson.on("birthday", function () { console.log("Happy B-Day."); })


// At some point later:
// Console Output: "Happy B-Day."

For more detailed usage guides and API specifications, see the official EventEmitter documentation <http://nodejs.org/api/events.html>_.


This package is published through NPM under the name eventjs::

$ npm install eventjs

Once installed, simply Event = require("eventjs").

This module uses browserify to create a browser compatible module. The default grunt workflow for this project will generate both a full and minified browser script in a build directory which can be included as a