Have you tried https://babeljs.io/repl ?
If it’s something you want to automate with
Gulp you can use babel-cli
I need the code of the transpilation. Can you please provide me that?
The previous user already pointed you to a link which you can use to convert ES6 syntax to ES5.
If you go to the setup page and click Gulp under the Build systems it will give the npm commands and show a gulp.task example.
Thank you for your input.