title: Module.exports vs plain json for config files
body: <p>I see multiple ways to create config files in Node.js. One uses module.exports in js file, one just use plain json object.</p>
  
  <pre><code>// config1.js
  module.exports = {
    config_1: "value 1",
    config_2: "value 2"
  }
  </code></pre>
  
  <pre><code>// config2.json
  {
    "config_1": "value 1",
    "config_2": "value 2"
  }
  </code></pre>
  
  <p>Is there any advantages of using module.exports in config file? What are the differences?</p>