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
Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1
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
01234Aug 14Aug 11Aug 8Aug 5Aug 2Jul 30Jul 27Jul 24Jul 21Jul 18Jul 15Jul 12Jul 9Jul 6Jul 3Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 0Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 0 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Aug 4 Linux: 0 Mac: 0 Windows: 0Aug 3 Linux: 0 Mac: 0 Windows: 0Aug 2 Linux: 0 Mac: 0 Windows: 0Aug 1 Linux: 0 Mac: 0 Windows: 0Jul 31 Linux: 0 Mac: 0 Windows: 0Jul 30 Linux: 0 Mac: 0 Windows: 0Jul 29 Linux: 0 Mac: 0 Windows: 0Jul 28 Linux: 0 Mac: 0 Windows: 0Jul 27 Linux: 0 Mac: 0 Windows: 0Jul 26 Linux: 0 Mac: 0 Windows: 0Jul 25 Linux: 0 Mac: 0 Windows: 0Jul 24 Linux: 0 Mac: 0 Windows: 0Jul 23 Linux: 0 Mac: 0 Windows: 0Jul 22 Linux: 0 Mac: 0 Windows: 0Jul 21 Linux: 0 Mac: 0 Windows: 0Jul 20 Linux: 0 Mac: 0 Windows: 0Jul 19 Linux: 0 Mac: 0 Windows: 0Jul 18 Linux: 0 Mac: 0 Windows: 0Jul 17 Linux: 0 Mac: 0 Windows: 0Jul 16 Linux: 0 Mac: 0 Windows: 0Jul 15 Linux: 0 Mac: 0 Windows: 0Jul 14 Linux: 0 Mac: 0 Windows: 0Jul 13 Linux: 0 Mac: 0 Windows: 0Jul 12 Linux: 0 Mac: 0 Windows: 0Jul 11 Linux: 0 Mac: 0 Windows: 0Jul 10 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: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 0Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 0 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Aug 4 Linux: 0 Mac: 0 Windows: 0Aug 3 Linux: 0 Mac: 0 Windows: 0Aug 2 Linux: 0 Mac: 0 Windows: 0Aug 1 Linux: 0 Mac: 0 Windows: 0Jul 31 Linux: 0 Mac: 0 Windows: 0Jul 30 Linux: 0 Mac: 0 Windows: 0Jul 29 Linux: 0 Mac: 0 Windows: 0Jul 28 Linux: 0 Mac: 0 Windows: 0Jul 27 Linux: 0 Mac: 0 Windows: 0Jul 26 Linux: 0 Mac: 0 Windows: 0Jul 25 Linux: 0 Mac: 0 Windows: 0Jul 24 Linux: 0 Mac: 0 Windows: 0Jul 23 Linux: 0 Mac: 0 Windows: 0Jul 22 Linux: 0 Mac: 0 Windows: 0Jul 21 Linux: 0 Mac: 0 Windows: 0Jul 20 Linux: 0 Mac: 0 Windows: 0Jul 19 Linux: 0 Mac: 0 Windows: 0Jul 18 Linux: 0 Mac: 0 Windows: 0Jul 17 Linux: 0 Mac: 0 Windows: 0Jul 16 Linux: 0 Mac: 0 Windows: 0Jul 15 Linux: 0 Mac: 0 Windows: 0Jul 14 Linux: 0 Mac: 0 Windows: 0Jul 13 Linux: 0 Mac: 0 Windows: 0Jul 12 Linux: 0 Mac: 0 Windows: 0Jul 11 Linux: 0 Mac: 0 Windows: 0Jul 10 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: 0Aug 14 Linux: 0 Mac: 0 Windows: 0Aug 13 Linux: 0 Mac: 0 Windows: 0Aug 12 Linux: 0 Mac: 0 Windows: 0Aug 11 Linux: 0 Mac: 0 Windows: 0Aug 10 Linux: 0 Mac: 0 Windows: 0Aug 9 Linux: 0 Mac: 0 Windows: 0Aug 8 Linux: 0 Mac: 0 Windows: 0Aug 7 Linux: 0 Mac: 0 Windows: 0Aug 6 Linux: 0 Mac: 0 Windows: 0Aug 5 Linux: 0 Mac: 0 Windows: 0Aug 4 Linux: 0 Mac: 0 Windows: 0Aug 3 Linux: 0 Mac: 0 Windows: 0Aug 2 Linux: 0 Mac: 0 Windows: 0Aug 1 Linux: 0 Mac: 0 Windows: 0Jul 31 Linux: 0 Mac: 0 Windows: 0Jul 30 Linux: 0 Mac: 0 Windows: 0Jul 29 Linux: 0 Mac: 0 Windows: 0Jul 28 Linux: 0 Mac: 0 Windows: 0Jul 27 Linux: 0 Mac: 0 Windows: 0Jul 26 Linux: 0 Mac: 0 Windows: 0Jul 25 Linux: 0 Mac: 0 Windows: 0Jul 24 Linux: 0 Mac: 0 Windows: 0Jul 23 Linux: 0 Mac: 0 Windows: 0Jul 22 Linux: 0 Mac: 0 Windows: 0Jul 21 Linux: 0 Mac: 0 Windows: 0Jul 20 Linux: 0 Mac: 0 Windows: 0Jul 19 Linux: 0 Mac: 0 Windows: 0Jul 18 Linux: 0 Mac: 0 Windows: 0Jul 17 Linux: 0 Mac: 0 Windows: 0Jul 16 Linux: 0 Mac: 0 Windows: 0Jul 15 Linux: 0 Mac: 0 Windows: 0Jul 14 Linux: 0 Mac: 0 Windows: 0Jul 13 Linux: 0 Mac: 0 Windows: 0Jul 12 Linux: 0 Mac: 0 Windows: 0Jul 11 Linux: 0 Mac: 0 Windows: 0Jul 10 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: 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.