You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • what about this?

    Modules.addCached("Say",function say(){
          function hello(name) {
            console.log('Hello',name);
          }
          exports.hello = hello;
    });
    
    const Say = require('Say');
    
    Say.hello('allObjects');
    
    
About

Avatar for MaBe @MaBe started