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