title: node.js require from parent folder
body: <p>I have the following structure:</p>
  
  <pre><code>-- node_modules
  -- websites
  ---- common
  ------- config.js
  ---- testing
  ------- test.js
  </code></pre>
  
  <p>Inside config I have some variables set, which are being exported using module.export.</p>
  
  <p>I am trying to retrieve those variables when running <code>node test.js</code> from config.js using the following codes:</p>
  
  <pre><code>var configData = require('./common/config.js')
  var configData = require('../common/config.js')
  </code></pre>
  
  <p>None of them work. What can I do to retrieve the data from the other folder?</p>