Babel

# npm init -y
# npm install --save-dev babel-cli babel-core babel-preset-es2015


.babelrc


{
    "presets": [
        "latest"
    ]
}


package.json


"prestart": "babel-node my.js"