In every company there's this one dude who rants about how shitty it is to configure Node / JS to transpile ES6 "just to test this one thing locally".
Let's call this dude Sam.
So, Sam, please install this little helper globally with:
npm install -g sammify
or if you're living on the bleeding-edge, use yarn:
yarn global add sammify
and "just test your one local thingy" with
sammify myscript.js
You're welcome.
💸