I've seen several ES6 code examples where a directory is being required, like this:
import * as things from '../some_directory'
Where some_directory
is a directory, not a regular file. It appears that in this case some_directory/index.js
ends up getting required.
Is this the case? Where is this documented?