DEV Community

Bruce Axtens
Bruce Axtens

Posted on • Updated on

Transpile ES5 to ES6/7 (and a gratuitous ad)

Today I went looking for a tool that would convert my ".prototype." objects to classes. And I found one!

Enter Lebab:

Lebab transpiles your ES5 code to ES6/ES7. It does exactly the opposite of what Babel does.

And there's an online tool as well if you're averse to installing yet another npm tool.

Top comments (2)

Collapse
 
darksmile92 profile image
Robin Kretzschmar

Great tool! But I don't get why you have chosen the title "Gratuitous Ads" ... 🤔

Collapse
 
bugmagnet profile image
Bruce Axtens • Edited

They didn't pay me to tell everyone.

Also, for a year or so, I maintained a Twitter account with a similar name where I would post photos of businesses who had done a really good job of whatever it was, gratuitously being grateful and advertising them for free.