I expect the demo works with or without the await on the listen promise because the listen code runs regardless (and prevents main from exiting).
Native typescript, easy-as-pie dependency management. its great!
DNS wasn't created with security in mind, so to say Deno is secure because it uses a permissions system while relying directly into DNS for imports to me sounds weird.
But with deno, if you’ve just accidentally installed some malicious squatters’ package that mimics the one you meant to use, at least you’ve got less exposure because the malicious code won’t necessarily have blanket permissions to make network calls, read files, etc. virtually any other language/package management system cannot say the same.
deno will download and cache the dependencies you import, they’re right in the project folder vs buried in a sea of node_modules. It’s super convenient to look at and inspect, if there’s any doubt or idle curiosity.
update: the original version was too spammy, i have changed it so that pepe only responds to greetings or when you type "pepe"
update 2: i have throttled pepe so it only comes back after minute of cooldown
I suppose this is not limited to multiple datacenters, but to multiple script instances in one datacenter as well.
CloudFlare: global, huge company who regrets they don't already route 100% of internet traffic
Edit: I should add, I commend both efforts, both probably improve the world more than they hurt it, just injecting a bit of humor.
You can run any of their examples to see that `deno run` commands can execute typescript without requiring a separate transpilation step
No hard feelings though, context is important and many of us miss it at times :)
Just saying because TS had some kind of popularity these days.
I can see how you can get confused, even if I wasn't as I'm around the JS community.