title: ES6 (ECMAScript 2015) modules: import index.js
body: <p>Looking on the Internet I'm confused with the special &quot;index.js&quot; module file.</p>
  <p>Using babelJS + Node.js or <a href="https://en.wikipedia.org/wiki/Browserify" rel="nofollow noreferrer">Browserify</a>/<a href="https://en.wikipedia.org/wiki/Webpack" rel="nofollow noreferrer">Webpack</a> I can import an &quot;index.js&quot; module inside a &quot;libs&quot; directory using <code>import myLib from &quot;./libs&quot;</code> (i.e., omitting the <code>/index</code> or <code>/index.js</code> part).</p>
  <p>Is the &quot;index.js&quot; module resolution (specifying the containing folder) supported by the ES6 (ECMAScript 2015) modules official standard? Or is it just &quot;custom&quot; Node.js /<a href="https://en.wikipedia.org/wiki/CommonJS" rel="nofollow noreferrer">CommonJS</a> transpiling behaviour?</p>
  <p>Will it be possible to omit the <code>/index</code>|<code>/index.js</code> part of the import in all browsers as well (when modules will be supported on all browsers)?</p>