lebab
all
A JavaScript modernizer for transpiling code to ES6/ES7. Transformations must be provided for all examples.
More info →Examples (5)
Transpile using one or more comma-separated transformations
lebab --transform transformation1,transformation2,...Transpile a file to `stdout`
lebab path/to/input_fileTranspile a file to the specified output file
lebab path/to/input_file --out-file path/to/output_fileReplace all `.js` files in-place in the specified directory, glob, or file
lebab --replace directory|glob|fileDisplay help
lebab --helpmade by @shridhargupta | data from tldr-pages