DenoDDeno
Powered by
MqxM
Deno•3y ago•
19 replies
Mqx

Using Deno in Frontend.

Hey, I was wandering if it is possible to use Deno for Vanilla Frontend development. I dont want to use a Framework like Oak or Fresh, I just want to use Vanilla TypeScript instead of JavaScript in my Frontend. As an example I just want types/typechecking for developing, build my Frontend and then transpile the whole thing to a JS-Bundle that I can then load in the Frontend. Now I have 2 problems. First is how to transpile my TypeScript to a JS-Bundle (I can do that with the emit module), and the second is how can I get the DOM in TypeScript. I have found this in the manual but I am not really sure how to use it.

Can someone explain to me how to setup the DOM for TypeScript development in the Frontend. And also whats about Deno.* APIs? How does the emit module handle this?

Thanks! ~Mqx
Deno
Using deno-dom | Manual | Deno
deno-dom is an implementation of DOM and HTML
parser in Deno. It is implemented in Rust (via Wasm) and TypeScript. There is
also a "native" implementation, leveraging
Using deno-dom | Manual | Deno
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

Frontend & Backend in one Deno Deploy project
NikoNNiko / help
3y ago
Using Superagent in Deno?
abiAabi / help
3y ago
Using deno_kv in rust?
Testersen™TTestersen™ / help
11mo ago
Using discord.js in Deno?
PNPersonPPNPerson / help
3y ago