javascripttranspiler

What is transpiler and what is exactly work of transpiler?


I would like to know what a transpiler is and what it actually does?


Solution

  • it is source-to-source compilers, are tools that read source code written in one programming language, and produce the equivalent code in another language.

    Languages you write that transpile to JavaScript are often called compile-to-JS languages, and are said to target JavaScript.

    They read CoffeeScript, TypeScript, and ES2015, and spit out JavaScript guaranteed to work anywhere

    Try to read this link it is good