Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vivinjoy/lebab

 
 

Repository files navigation

Build Status License JS.ORG

Lebab

Lebab

lebab transpiles your ES5 code to ES2015. It does exactly the opposite of what babel does. If you want to understand what lebab exactly does, try the live demo.

Usage

Install it using npm :

$ npm install -g lebab

Transpile your old-fashioned code using the lebab cli tool.

lebab es5.js -o es6.js

Supported Features

  • Function/Prototypes to Classes
  • Callback to Arrow functions
  • String concatenation to Template Strings
  • Using let and const instead of var
  • Default arguments instead of a = a || 2
  • Function properties in objects to Object methods

About

Turn your ES5 code into readable ES6. It does the opposite of what Babel does.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%