How I started Using ES6 Modules in Node JS
A short guide on how I started using ES6 Modules when using Node. I love the EcmaScript Module syntax and I use it almost in all my code and practices. I will use the example from Express Introduction - MDN So, create a new folder (node-es6): mkdir node-es6 Inside the folder, initialize a node application by: npm init -y Now open the folder using your favorite text editor. Create a new file hello.js and paste the code: ...