babel/doc/index.md
2014-11-13 14:47:32 +11:00

1.6 KiB

6to5 turns ES6+ code into vanilla ES5, so you can use ES6 features today.

  • Readable - formatting is retained if possible so your generated code is as similar as possible.
  • Extensible - with a large range of plugins and browser support.
  • Lossless - source map support so you can debug your compiled code with ease.
  • Compact - maps directly to the equivalent ES5 with no runtime*.

Installation

It's as easy as:

$ npm install -g 6to5

Features