A pubsub event bus in node that facilitates events between browser clients and the server.
Pull request Compare This branch is 36 commits behind node-bus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



node-bus is a project where the goal is to provide a really simple facility for pubsub-style eventing between clients and between clients and the browser.

The bus framework includes a client-side javascript tool which handles all of the COMET requests to make the developer's job as easy as possible. (automatically degrades from WebSockets to long polling)

Running the Test Server

Open a console window, and move to the ./examples directory. Then type

sudo node server.js

Then, navigate a browser to http://localhost:8080/examples/

  • Be sure to include the trailing slash in the URL

Versions (tags)

  • v0.1a - Long-polling support for the client, and functioning server. Chat example and the maintest test app.
  • v0.2a - Adding support for WebSocket graceful degradation to longpolling.