lebab Command Examples

A JavaScript modernizer for transpiling code to ES6/ES7. Transformations must be provided for all examples. More information: https://github.com/lebab/lebab.

lebab --transform {{transformation1,transformation2,...}}

lebab {{path/to/input_file}}

lebab {{path/to/input_file}} --out-file {{path/to/output_file}}

lebab --replace {{directory|glob|file}}

lebab --help