nodejs

How to import/export ES6 modules in Node

How to import/export ES6 modules in Node

  • June 19, 2018

If you have been following the javascript ecosystem for a while, you already know that even though ES6 modules are a thing, you still cannot import/export ES6 modules in node.js as of today. Node 10 experimental flag for importing/exporting ES6 modules in Node Though Node 10 has added an experimental...