In my node.js script I have:
var wu = require('./wu-0.1.8.js');
just to play with wu.
If it was in browser, then I could just use wu everywhere e.g.
wu([1,2,3]).map( function(n){ return n*n; } );
Hovever in node.js I have to write:
wu.wu([1,2,3]).map( function(n){ return n*n; } );
Is it possible to append wu to global scope so that I dont have to type wu.wu all the time?