Browse files

Update website with Node and npm info.

  • Loading branch information...
1 parent cb1a686 commit f389f16ceb3dd6f9e3473cd47d6bdcb9accbc94c @beastaugh committed Jun 21, 2011
Showing with 20 additions and 0 deletions.
  1. +20 −0 site/
@@ -29,6 +29,26 @@ All the functions in this library are namespaced by the `Udon` object, so a
reference in the documentation to e.g. `map` should be read as ``. This
means it should play nicely with other JavaScript libraries.
+Udon is known to work in all major browsers, as well as on [Node]. As well as
+being available from the download links above, you can install it with [npm].
+ npm install -g udon
+The Node library exports the Udon object as the module, so usage should follow
+this pattern.
+var Udon = require('udon');
+[1, 2, 3], ['a', 'b', 'c']);
+// -> [[1, 'a'], [2, 'b'], [3, 'c']]
+Udon is designed for pure functional programming, so none of its public
+functions (i.e. those listed below) modify the values passed to them.
API summary

0 comments on commit f389f16

Please sign in to comment.