Exporting and Importing Module in node.js
Using a simple module in node.js
Exporting with ES6 syntax
Using Imports In ES6