Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lebab

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lebab

Turn your ES5 code into readable ES6

  • 1.3.0-alpha
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-23.2%
Maintainers
1
Weekly downloads
 
Created
Source

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

Roadmap

  • For of loops
  • Convert arguments to rest parameters
  • Lexical this for arrow functions

Keywords

FAQs

Package last updated on 21 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc