Skip to content
stoffera edited this page Oct 10, 2012 · 5 revisions

At the moment Duality is not in npm package manager. Therefore you must download it manually from github. I recommend you to use the stable releases, from the stable branch.

To use Duality download the duality.js file and place it in the working directory of you node.js project. Include the duality module in the file that should use the server:

var duality = require('./duality.js');

Now the object duality is defined in the global context. Now proceed to the Getting Started guide, to start using duality.

Clone this wiki locally