Transpiling

In notebook:
FrontEndMasters Creating an Open Source JavaScript Library on Github
Created at:
2017-07-18
Updated:
2017-07-18
Tags:
JavaScript libraries

##Babel

Originally was callde 6to5. The author created this to teach himself JavaScript. It takes the future version of javascript to a current, common version that is understood by browser and NodeJS. It was ES5 at the time. (EcmaScript6 to EcmaScript5).

Now we have EcmaScript 2017 coming out.

It has became a general purpose transpiler. There are tons of Babel plugins.

By default Babel does nothing, you need to install plugins. Preset ES2015 (ES6) is good.