Node.js Exporting with ES6 syntax

Example

This is the equivalent of the other example but using ES6 instead.

export function printHelloWorld() {
  console.log("Hello World!!!");
}