transpiler

A tool that translates source code into another language at a similar level, such as TypeScript into plain JavaScript.

In more detail

Unlike a compiler that produces machine code, a transpiler's output is still readable source. Tools such as tsc, esbuild, SWC and Babel transpile TypeScript. Fast ones such as esbuild and SWC only remove types file by file and do no type checking.

Related terms

Taught in

References