title: Nodejs: Good practice to just use the index.js to EXPORTS?
body: <p>I am seeing a pattern on some code I have inherited. Each directory has its JS file but there is also a index.js that actually exports items from the other JS file or files.</p>
  
  <p>I presume this is done so you can see exactly what you are exporting, as the main exports are in index.js and the main code is in the other js file or files.</p>
  
  <p>Is this correct? What is this pattern called ?</p>
  
  <p>Should I continue using this pattern.</p>