Skip to content
master
Go to file
Code
This branch is 789 commits behind lebab:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published
You can’t perform that action at this time.