Containers are Cloudflare's most underrated product, by far. Ignore the ai-first marketing, they're a fantastic product whenever you need something that would typically/previously require a VPS.
Don't use the global WebSocket in node. Coming from the person who originally implemented it, you really should not be using it.
Use ws. You'll get a more consistent API since it doesn't pretend to be something it isn't.
Node apparently will have native .zip support, possibly in v27. I never thought I'd see the day, there were quite a few critics in the feature request (from 2022!).
github.com/nodejs/node/pu…
If anyone's interested, it's possible to get canvaskit-wasm working on Cloudflare Workers with 2 simple patches:
1. handle __dirname being undefined
2. implement the missing instantiateWasm hook
gist.github.com/KhafraDev/88ba…
I'm going to step away from maintaining undici (node's fetch/EventSource/WebSocket). AI has made maintaining it miserable. Every terrible idea now has free reign while taking up my time and piece-by-piece breaking down my patience and enjoyment.