node package manager


Namespaces for hub.js


Namespaces for hub.js


npm install hub-namespace

Use Browserify to create a custom bundle.

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 file with the merged / minified scripts run make package.