title: How to replace the IIFE in export function
body: <p>Im using the following code and its working fine, this is the server.js</p>
  
  <pre><code>function start() {
      server.listen(app.get('port'), function (err) {
          if (err) {
              console.error(err);
          } else {
              pr.preProcess();
              console.log('server Listening on port : ' + app.get('port'));
          }
          proxy.web(server);
      });
  }
  </code></pre>
  
  <p>this is the module which Im exporting</p>
  
  <pre><code>module.exports = function (params) {
  
  Loader.load(params.loadFolder);
      if (_.isEmpty(params)) {
          start();
      } else {
          start();
          Loader.loadFolder(params.loadFolder);
      }
      return {
          start: start,
          pluginLoader: pluginLoader.loadFolderFromPath
      }
  }();
  </code></pre>
  
  <p>This module.exports use <strong>()</strong> IIFE (at the end of exports) to make it work,
   and I <strong>want to avoid it</strong> , there is a cleaner way to do that without the brackets at the end?</p>