title: What is the 'import * as ...' equivalent for require?
body: <p>When using the ES6 <code>import</code> command, you can use an alias to import all functions from a file, for example:</p>
  
  <pre><code>import * as name from "module-name";
  </code></pre>
  
  <p>Is there an equivalent way to do this using require, i.e.:</p>
  
  <pre><code>const { * as name } = require('module-name');
  </code></pre>