javascriptnode.jstypescriptnpmdeno

Using Deno to Compile TypeScript to JavaScript


I'm working on some Deno projects and would like to be able to compile TypeScript to JavaScript to run in the browser (since TS is not yet supported). When I worked with NodeJS I installed the tsc compiler using npm but it seems overkill to install a second JavaScript runtime (NodeJS) just to get access to tsc. Does Deno have a compiler built-in?

I'm running Ubuntu server.


Solution

  • There is built in bundler, so you don't need separate tool.