es6 node script 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