I have a module.js that must be loaded; In order to work needs objectX;
How do I pass the objectX to the module.js in the require method provided by node.js?
tha
What about workaround like export some init method and pass objectX as parameter right after requiring?
var module = require('moduleJS'); module.init(objectX)