Client modules are independent closures, that can include CommonJS. They are automatically collected, browserified, joined together, and minified by the bundler.

All "magic" is in require directive. There are several types of requireable files:

Also there are some extra stuff available within Nodeca's client modules over CommonJS specification:

Wire listeners

There are some common events, that can be emitted from any modules: