-
Notifications
You must be signed in to change notification settings - Fork 31
Browser and NodeJS support
KadOH is designed for the browser as well as for NodeJS.
This duality allows to expand the range of possibilities. Thus different kinds of P2P transport can be tested or even mixed.
NodeJS is the development platform we use for KadOH meaning that building and testing utilities are based on NodeJS. So if you plan to enhance parts of KadOH or to go a bit further into building applications with it, you'll probably need to get confident with NodeJS.
If you plan to use KadOH in the browser with transports that does not need to be backed by NodeJS (like XMPP over BOSH), you won't need NodeJS, and you can use directly a build placed in dist/
.
Our source code is written in the NodeJS module style, so it's directly useable in NodeJS. Since this style is close to the CommonJS recommendations, KadOH should be compatible with most of module loader libraries for browser (RequireJS, ..) with few configurations.
For our need we use browserify as module packaging utility.