A benchmark test to profile transpiling ES2015/ES6 on the fly with Bublé + Rollup.
I'm running v6.2.2, so I'm not sure how this will run on older versions. If you don't already have node installed I would recommend using Node Version Manager, it lets you easier swap out node versions. Once you install nvm you can just run nvm install
which uses the .nvmrc
file in the project which then installs and sets the desired version. If you don't want to use NVM, but still need to install Node just check out the main Node.js docs and use the method best suited for your system.
nvm install
npm install
php transpile_js.php