title: Random-js is not a function
body: <p>Previously, everything worked, but now something is wrong.
  Node version - 10.4
  Error:</p>
  
  <pre><code>var random = require("random-js")();
                                   ^
  TypeError: require(...) is not a function
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>var random = require("random-js")();
  </code></pre>
  
  <p>For this:</p>
  
  <pre><code>    function getRandom() {
      reGeneratePatern();
      gencode = numbers[Math.floor(Math.random() * numbers.length)];
      return gencode;
  }
  </code></pre>
  
  <p>Wtf?</p>