babel
A transpiler which converts code from JavaScript ES6/ES7 syntax to ES5 syntax. tldr-pages
On several platforms
Several platforms
Transpile a specified input file and output to stdout
babel path/to/fileIdentifyTranspile a specified input file and output to a specific file
babel path/to/input_file --out-file path/to/output_fileIdentifyTranspile the input file every time it is changed
babel path/to/input_file --watchIdentifyTranspile a whole directory of files
babel path/to/input_directoryIdentifyIgnore specified comma-separated files in a directory
babel path/to/input_directory --ignore ignored_file1,ignored_file2,...IdentifyTranspile and output as minified JavaScript
babel path/to/input_file --minifiedIdentifyChoose a set of presets for output formatting
babel path/to/input_file --presets preset1,preset2,...IdentifyDisplay help
babel --helpIdentify