Node compatibility just got a lot better in Deno

preview_player
Показать описание

Deno is fast and secure! However, migrating an existing Node app is not always the easiest process. In this video, Jon Meyers demonstrates how new improvements to Node compatibility and NPM support in Deno, can greatly simplify migrating an Express and Drizzle app to Supabase Edge Functions! 🧠

Рекомендации по теме
Комментарии
Автор

NPM support on Supabase Edge functions has been the most requested feature! So excited that it has landed!

dshukertjr
Автор

Great video, I'd gladly watch a full Deno one ! Thanks !

theseedship
Автор

I love this. Don’t even need to run npm install and still get the full power. Incredible work!

thorwebdev
Автор

How the web has grown. Running Node in Deno, running Apache in Ngnix, running IIS in TomCat or even Supabase in Firebase. So cool so easy.

ekimbangola
Автор

I really like how you pointed out edge cases and then handled them. Solid thinking ahead for this video, and a great lesson as always. Thank you!

ShaneTheKing
Автор

This is very useful 💪🏽🙏🏽

And the vid is supa well done 🆇

HijabiCoder
Автор

It'd be great to see a performance breakdown comparing a standard node app (like you started with), a Deno-based app hosted on edge functions, and a node app converted to deno hosted on edge functions.

I couldn't help but notice the vanilla, non-edge function responded in under 200ms locally, while the Deno-converted, edge function-hosted updated version had about 3x the response time.

I know localhost response times don't necessarily have much bearing on production numbers, but I can't help but wonder... the difference between an API that responds in 200ms vs 600ms is huge.

trentguillory
Автор

Wonderful update, makes developing for Supabase way more powerful. Kudos!

wheeldwell
Автор

Does this still need to be done like this or are there simpler options to use npm packages in deno now?

marlondietrich
Автор

So I have to manually update import_map.json if I want to use npm package? Or is there a better way?

oaisjdfojisdffe
Автор

can we use Prisma with Supabase Edge function ?

personal
Автор

How would this work with private npm repos?

cjpettigrew
Автор

So I don't need to host my node app? Just deploy it to edge functions?

codewithtae
Автор

how would one do this with a vercel/nextjs setup with supabase

TheLarynx
Автор

How does one run Node, a JavaScript runtime, in Deno, also a JavaScript runtime?

andrueanderson
Автор

Isn't the support for npm packages coming from Deno, and more precisely newer Deno version. It's not your achievement. Your achievement is finally updating the Deno version. Now about that Deno version. What is actually the version of Deno. Where we can check that and please don't point me to logs and discord. How do I know what version I have to put for std and supabase-js.

theGoldyMan
Автор

this was the missing piece of the puzzle!

awalias
welcome to shbcf.ru