ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Lebab ES6 Transform

by uniibu ST3

A sublime package to easily transform your code to ES6

Details

Installs

  • Total 767
  • Win 466
  • Mac 225
  • Linux 76
Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
01234Jul 9Jul 6Jul 3Jun 30Jun 27Jun 24Jun 21Jun 18Jun 15Jun 12Jun 9Jun 6Jun 3May 31May 28Jul 9 Linux: 0 Mac: 0 Windows: 0Jul 8 Linux: 0 Mac: 0 Windows: 0Jul 7 Linux: 0 Mac: 0 Windows: 0Jul 6 Linux: 0 Mac: 0 Windows: 0Jul 5 Linux: 0 Mac: 0 Windows: 0Jul 4 Linux: 0 Mac: 0 Windows: 0Jul 3 Linux: 0 Mac: 0 Windows: 0Jul 2 Linux: 0 Mac: 0 Windows: 0Jul 1 Linux: 0 Mac: 0 Windows: 0Jun 30 Linux: 0 Mac: 0 Windows: 0Jun 29 Linux: 0 Mac: 0 Windows: 0Jun 28 Linux: 0 Mac: 0 Windows: 0Jun 27 Linux: 0 Mac: 0 Windows: 0Jun 26 Linux: 0 Mac: 0 Windows: 0Jun 25 Linux: 0 Mac: 0 Windows: 0Jun 24 Linux: 0 Mac: 0 Windows: 0Jun 23 Linux: 0 Mac: 0 Windows: 0Jun 22 Linux: 0 Mac: 0 Windows: 0Jun 21 Linux: 0 Mac: 0 Windows: 0Jun 20 Linux: 0 Mac: 0 Windows: 0Jun 19 Linux: 0 Mac: 0 Windows: 0Jun 18 Linux: 0 Mac: 0 Windows: 0Jun 17 Linux: 0 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 0 Windows: 0Jun 15 Linux: 0 Mac: 0 Windows: 0Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 0Jun 12 Linux: 0 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 0Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 0 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 0Jun 4 Linux: 0 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 0Jun 2 Linux: 0 Mac: 0 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 0 Windows: 0May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 0 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0Jul 9 Linux: 0 Mac: 0 Windows: 0Jul 8 Linux: 0 Mac: 0 Windows: 0Jul 7 Linux: 0 Mac: 0 Windows: 0Jul 6 Linux: 0 Mac: 0 Windows: 0Jul 5 Linux: 0 Mac: 0 Windows: 0Jul 4 Linux: 0 Mac: 0 Windows: 0Jul 3 Linux: 0 Mac: 0 Windows: 0Jul 2 Linux: 0 Mac: 0 Windows: 0Jul 1 Linux: 0 Mac: 0 Windows: 0Jun 30 Linux: 0 Mac: 0 Windows: 0Jun 29 Linux: 0 Mac: 0 Windows: 0Jun 28 Linux: 0 Mac: 0 Windows: 0Jun 27 Linux: 0 Mac: 0 Windows: 0Jun 26 Linux: 0 Mac: 0 Windows: 0Jun 25 Linux: 0 Mac: 0 Windows: 0Jun 24 Linux: 0 Mac: 0 Windows: 0Jun 23 Linux: 0 Mac: 0 Windows: 0Jun 22 Linux: 0 Mac: 0 Windows: 0Jun 21 Linux: 0 Mac: 0 Windows: 0Jun 20 Linux: 0 Mac: 0 Windows: 0Jun 19 Linux: 0 Mac: 0 Windows: 0Jun 18 Linux: 0 Mac: 0 Windows: 0Jun 17 Linux: 0 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 0 Windows: 0Jun 15 Linux: 0 Mac: 0 Windows: 0Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 0Jun 12 Linux: 0 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 0Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 0 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 0Jun 4 Linux: 0 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 0Jun 2 Linux: 0 Mac: 0 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 0 Windows: 0May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 0 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0Jul 9 Linux: 0 Mac: 0 Windows: 0Jul 8 Linux: 0 Mac: 0 Windows: 0Jul 7 Linux: 0 Mac: 0 Windows: 0Jul 6 Linux: 0 Mac: 0 Windows: 0Jul 5 Linux: 0 Mac: 0 Windows: 0Jul 4 Linux: 0 Mac: 0 Windows: 0Jul 3 Linux: 0 Mac: 0 Windows: 0Jul 2 Linux: 0 Mac: 0 Windows: 0Jul 1 Linux: 0 Mac: 0 Windows: 0Jun 30 Linux: 0 Mac: 0 Windows: 0Jun 29 Linux: 0 Mac: 0 Windows: 0Jun 28 Linux: 0 Mac: 0 Windows: 0Jun 27 Linux: 0 Mac: 0 Windows: 0Jun 26 Linux: 0 Mac: 0 Windows: 0Jun 25 Linux: 0 Mac: 0 Windows: 0Jun 24 Linux: 0 Mac: 0 Windows: 0Jun 23 Linux: 0 Mac: 0 Windows: 0Jun 22 Linux: 0 Mac: 0 Windows: 0Jun 21 Linux: 0 Mac: 0 Windows: 0Jun 20 Linux: 0 Mac: 0 Windows: 0Jun 19 Linux: 0 Mac: 0 Windows: 0Jun 18 Linux: 0 Mac: 0 Windows: 0Jun 17 Linux: 0 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 0 Windows: 0Jun 15 Linux: 0 Mac: 0 Windows: 0Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 0Jun 12 Linux: 0 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 0Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 0 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 0Jun 4 Linux: 0 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 0Jun 2 Linux: 0 Mac: 0 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 0 Windows: 0May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 0 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0

Readme

Source
raw.​githubusercontent.​com

Lebab ES6 Transform for SublimeText 3

A sublime package to easily transform your code to ES6

Installation

Note

The plugin uses a bundled version of Lebab using zeit/pkg which produces three executables files for Windows, Linux and MacOs. Therefor this package NO longer needs the following:

  1. No longer needs Nodejs. The bundled lebab versions are already packed with Nodejs v8.9.0
  2. No longer needs Lebab package and any of it's dependencies. The bundles lebab already includes all necessary dependencies.

Install plugin

Please use Package Control to install the plugin.

  1. Within Sublime Text, bring up the Command Palette and type install. Among the commands you should see Package Control: Install Package. If that command is not highlighted, use the keyboard or mouse to select it. There will be a pause of a few seconds while Package Control fetches the list of available plugins.
  2. When the plugin list appears, type lebab. Among the entries you should see Lebab-ES6-Transform. If that entry is not highlighted, use the keyboard or mouse to select it.

Options

format_on_save:

This will format your js file on each save. Default: true

show_warnings:

This will show any lebab warnings on your sublime panel. Default: true

transforms:

This plugin only enables the safest transforms from Lebab, but you can enable all or any of them by changing the transforms option in your user settings.

NOTE: To see a full list of transforms visit Lebab

Here are the default settings:

{
  // runs lebab on the current js file upon saving
  "format_on_save": true,
  // shows the lebab warning message via sublime panel
  "show_warnings": true,
  // safe transforms https://github.com/lebab/lebab#safe-transforms
  "transforms": [
      "arrow",
      "arg-rest",
      "obj-method",
      "obj-shorthand",
      "class",
      "let",
      "includes",
      "template",
      "for-of",
      "exponent",
      "default-param",
      "commonjs"
  ]
}

Contributing

If you find any bugs feel free to report them here.

Pull requests are also encouraged.