javascript - Require a directory in ES6 -


i've seen several es6 code examples directory being required, this:

import * things '../some_directory' 

where some_directory directory, not regular file. appears in case some_directory/index.js ends getting required.

is case? documented?


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -