Hacker News new | ask | show | jobs
by samjmck 1684 days ago
Cloudflare Workers aren't running Node or Deno though, they just use the V8 runtime and implement a few web APIs (this is oversimplified of course but you get what I mean)
1 comments

Correct - denoflare scripts are served in a permissionless Deno worker locally - even the Deno namespace is unavailable, just like on Cloudflare.

Developing the worker in Deno brings you the benefit of first-class support for typescript and ESM-modules in your worker, and no need for Node polyfills.

Once you deploy your worker, it runs like any other javascript worker on the magical Cloudflare V8 worker runtime.