Any tool that will complie my TS code to JS?

I have coded a website in typescript using Deno, but I want to convert it to JS code. I know the Deno runtime does it automatically for me but I want to convert my codebase permanently to JS. Is there any tool I can use to do that?
D
Dishit442d ago
Also want to convert my vendor folder to JS
UU
Unknown User442d ago
D
Dishit442d ago
Yup
L
lucsoft442d ago
you could use https://deno.land/x/esbuild_serve@1.2.1 just create a serve.ts file run with "deno run -A serve.ts build" and now you have it
D
Dishit442d ago
Alright ill take a look I just learnt that i can also use deno bundle for my issue too
L
lucsoft442d ago
not really its really just packs code together nothing more
D
Dishit442d ago
Yeah well that solves my issue anways. I’m testing my code on a new serverless architecture design, and i wanted to reduce the startup time by not making deno transpile my code
More Posts
How to get remote IP address when using Deno.serve?I'm using connInfo when using Deno from STD but the native http server doesn't seem to have such intIs there any way to pause a server on deno deploy?Need for debuggingTwo questions on documentationRTFM in 3... 2... 🙂 Question 1: How do i hide documentation for specific exports, i do not want Is there any simple way to keep track of the heap/stack usage of a running Deno application?I have made a Deno application and I'm curious to know if there's heap/stack issues that I should fiusing data from one deno bench in anotheris there any good way to re-use the results generated in one deno bench in another one? example: `docker compose up of Oak server throws: SyntaxError: Duplicate export of 'type'I am just learning how to use Docker, and am trying to put up a container of an Oak server. When runPublishing Deno Module with Bin (Answered)I know there's a way to include a `bin/` when publishing a module and then perform some kind of `denUse local tgz file instead of tgz from npm registryHello, Is it possible to reference a local tgz file inside a deno project (like calling `npm instalvscode LSP being a disgraceful little bitchfor no reason obvious to me, vscode and deno's lsp has been acting up lately. any ideas what could bIs there a way to fetch() with headers, WITHOUT forcing header keys to lowercase?Title. I'm trying to create an API wrapper for a service which uses "Incapsula" as their firewall orHow do I use std/log?I'm trying to create a log file. I don't seem to be able to make it work tho. ```ts import { handleop_ffi_cstr_read replacement now that deno.core.ops is gone?The latest release removed Deno.core.ops, which a library of mine relied on to use `op_ffi_cstr_readNPM Import results in Rust panicLooking to import the Airgram NPM package because I don't want to write it from scratch at this momeDeno fmt conflicting with Deno lint, when using IIFE```ts // before formating ((): void => { /* code */ })() ``` after formating with deno fmt, it adds prototype dot functions. How?How would I go about creating dot function that can be chained at the end of a number in Deno? ExamRepublish a /x/ module from a deleted repoIs it possible to publish an old module from a new repo? i'v deleted an old one and created a new reHow to get Deno to fmt on save with VSCode?I have a deno.json file with some fmt options which works if run fromt the command line but not whenIntegrate Twin to Svelte+Vite+Deno as FreshIs there any way to integrate the use of Twind into the Stelte+Vite+Deno project as Fresh does? Thacan i render some pages as SPA and some as SSR in fresh?#fresh kanalına mesaj göndercan i render some pages as SPA and some as SSR in fresh? #fresh kanalına mesaj gönderHow can I let my program keep running even if it receives SIGINT?I succeeded to write a program to handle `SIGINT` using `Deno.addSignalListener("SIGINT", ...)` API,