monolithed (2015-02-05T12:51:41.000Z)
monolithed at gmail.com (2015-02-05T12:58:59.952Z)
I could not find an answer in the specification regarding the following cases: ```js import './foo/index.js' import 'foo/index.js' import 'foo/index' import 'foo' import 'foo/' ``` Is there a difference? Node.js lets create an 'index.js' file, which indicates the main include file for a directory. So if you call require('./foo'), both a 'foo.js' file as well as an 'foo/index.js' file will be considered, this goes for non-relative includes as well.