title: How can I require a directory in ES6?
body: <p>I know I can require a file in ES6 like this:</p>
  
  <p><code>require('./config/auth');</code></p>
  
  <p>When I try to do this</p>
  
  <p><code>require('./config/');</code></p>
  
  <p>I get: <code>Module not found: Error: Cannot resolve directory './config'</code>. Why does this happen? How can I require a directory?</p>