how to use es6 node.js code example
Example: es6 node
npm i @babel/cli @babel/core @babel/node @babel/preset-env babel-loader @babel/polyfill -D
npm i @babel/cli @babel/core @babel/node @babel/preset-env babel-loader @babel/polyfill -D