All apps/Babel

Babel

babel

The JavaScript compiler, with a CLI for compiling files and directories.

Runs as babel|macOS, Linux, Windows|babel.dev

Command form

ai-draft · 2 tasks · 12 fields

Compile files or a directory to a file or directory. Code-frame, comment and auxiliary-comment options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui babel
Compile with BabelExample values, fixed in this page — nothing here reaches a terminal
Basic
Input files or directory*
any
Output directory*
directory
Advanced
Copy non-compilable files
-D
TasksEach one presets the form for one job
Compile a directory
inputout_dircopy_files
Compile into one file
inputout_file
ParametersOnly these flags are editable in the form
Input files or directory
path · positional 0 · repeatable
Output directory
path
-d--out-dir
Output file
path
-o--out-file
Presets (comma-separated)
string
--presets
Plugins (comma-separated)
string
--plugins
Config file
path
--config-file
Source maps
enum
-s--source-mapstruefalseinlineboth
Extensions (comma-separated)
string
-x--extensions
Ignore globs
string
--ignore
Copy non-compilable files
boolean
-D--copy-files
Watch for changes
boolean
-w--watch
Minify output
boolean
--minified
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed babel against its version. A form that does not match your version is not offered.