title: why node uses require not import?
body: <p>I'm learning node.js and am wondering why it uses the <code>require</code> syntax rather than the <code>import</code> syntax which React uses.</p>
  
  <p>i.e.</p>
  
  <p><code>const Validator = require("validator");</code></p>
  
  <p>VS</p>
  
  <p><code>import Validator from "validator";</code></p>
  
  <p>I believed <code>import</code> is es6 but I don't think that explains why it's not used in node.</p>