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.0.0
  • 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

Roadmap

  • Function/prototypes to classes
  • CommonJS module definition to ES6 moloops
  • Callbacks to arrow functions
  • var to let/const
  • Template strings
  • Object methods
  • Object shorthands
  • Default arguments instead of a = a || 2
  • For of loops
  • Convert arguments to rest parameters
  • Lexical this for arrow functions
  • Rest parameters
  • Named parameters
  • Destructing arrays
  • Destructing objects

Keywords

FAQs

Package last updated on 21 Feb 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