JavaScript module namespace exports

A new JavaScript ES2020 Feature

Kesk -*-

--

Grayscale photo of a computer with code, white-notebook, and a cup of coffee

As of ES6, we can use the import and export keywords to import or export functions, objects, or primitives, respectively. There are many ways to use the import and export keywords like for example, default export or named exports, but soon we will have another way: “module namespace exports.”

--

--

Kesk -*-

Software engineer - software Enthusiast - Sci-Fi writer.