I have a C program translated (dont know what word is appropiate) to Javascript, so I can use it in node.js.C program consists of main that accepts command line parameters. I understand that I need to somehow use module object to pass those command line arguments, but I'm at a loss.My js program consists of 2 files: program.js (C program compiled into js) and test.js (var module = require('./program.js'), and the rest that operates on this imported program.The question is: How do I pass some arguments to this C-translated-to-javascript-and-then-imported program?
Emscripten - passing command line arguments
javascript;c