Skip to content
Hulk's kinda like Juggernaut, but uses EventSources.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
config
lib
.gitignore
README
package.json
server.js
test.html

README

Hulk
====

It's like juggernaut (https://github.com/maccman/juggernaut), but better, because it doesn't use that janky-ass socket.io.

It uses EventSource, puts in a polyfill for those poor IE users, and will be mostly API-compatible with Juggernaut. Ideally it'll be a dropin replacement - just do something like this:

    Juggernaut = Hulk;

    var h = new Hulk;
    h.subscribe("channel1", function(data){
      console.log(data);
    });

You can use the same Juggernaut gem you've been using in the past, just swap out the node server.


TODO
----

* Metadata
* Client Events
Something went wrong with that request. Please try again.