How to use the node.js library in getting file paths, etc.

Hi! I found a node.js library inside the Client folder "javascript/dojo/node.js". Question is how do I use it properly? 

I want to use the 'fs' and 'path' modules to get the files and paths info, but it seems like Aras has a different syntax for this.

So far I managed to write the code below on my JS program, but I still don't know what to write inside it without getting errors.

define("dojo/node", function(kernel, has, require){

});

Any help, insights are appreciated.