Pub/Sub oriented JavaScript for Node and the browser

npm install hubjs
42 downloads in the last week
215 downloads in the last month

hub.js Build Status NPM version

Pub/Sub oriented JavaScript - For Node.js and the browser


Install with npm:

npm install hubjs

Download for browsers

Standalone browser packages are here:

You can also use npm and bundle it with your application using Browserify.


Here is what you need:

  • npm install will install all the dev dependencies
  • make does all of the following
  • make lint lint the code with JSLint
  • make test runs all unit tests in Node
  • make browser generates a static web page at test/all.html to run the tests in a browser
  • make phantom runs all tests in a headless WebKit. Make sure phantomjs is in your path.

To build a standalone browserified package containing the merged / minified scripts run make package.

npm loves you