title: Using Node.js require vs. ES6 import/export
body: <p>In a project I am collaborating on, we have two choices on which module system we can use:</p>
  <ol>
  <li>Importing modules using <code>require</code>, and exporting using <code>module.exports</code> and <code>exports.foo</code>.</li>
  <li>Importing modules using ES6 <code>import</code>, and exporting using ES6 <code>export</code></li>
  </ol>
  <p>Are there any performance benefits to using one over the other? Is there anything else that we should know if we were to use ES6 modules over Node ones?</p>