DenoDDeno
Powered by
Jasmine Boba'teaJ
Denoβ€’14mo agoβ€’
2 replies
Jasmine Boba'tea

how to use .ts files (or their compiled .js equivalents) in the browser?

Does Deno have a builtin way to compile ts into js for such purposes, or is there a design pattern that is recommended to make this possible, or am I stuck using webpack?

I am playing with the Node crypto lib and I want to use the functions I've written in the browser's socket.io client-side code to encrypt the data that gets sent to the socket.io/deno server-side code.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

type checking `.js` files using `d.ts` files
scarfSscarf / help
2y ago
Transpile TS to browser-safe JS with no dependencies?
TibbsTTibbs / help
2y ago
how do I use `@ts-self-types` without `.d.ts` files appearing in docs?
Samual 🦒SSamual 🦒 / help
14mo ago
Transpile TS to JS
hametHhamet / help
2y ago