TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Edge functions: Node and native NPM compatibility

87 pointsby jacobwgover 1 year ago

8 comments

laktekover 1 year ago
Hey, thanks for sharing this on HN! I&#x27;m one of the Edge Functions developers at Supabase and co-author of the blog post. We are very excited about releasing npm support and looking forward to seeing how the community build awesome apps with the Supabase stack.<p>I am happy to answer any questions or receive feedback.
评论 #38618224 未加载
kiwicoppleover 1 year ago
hey hn, supabase ceo here<p>this is the #1 feature request from our community wrt Edge Functions. Our Functions run Deno, and so a lot of developers struggle to migrate from Node. This update solves that. It was a lot of work - in the words of one of the developers: &quot;the hardest thing I have implemented&quot;.<p>It&#x27;s nice because it brings 100% feature parity across local dev, the platform, and self-hosting.<p>We also added a Sentry integration for observability and &quot;Regional Invocations&quot; for connecting to a Function in one particular region (useful if you want to execute a Function close to your database).<p>I&#x27;m just clocking off but the engineer who shipped this is waking up and will be around for any technical discussion.
评论 #38618509 未加载
d0100over 1 year ago
Great, I paused my project just waiting on this issue<p>These last months open source has churned out several projects that are components to what I&#x27;m experimenting on and it feels great to be able to build on top of solid projects
tomCombover 1 year ago
&gt; We run an open source Deno server for hosting Edge Functions called Supabase Edge Runtime.<p>With full npm and node compatibility. Interesting.
评论 #38617342 未加载
montroserover 1 year ago
I bet this is cool in some way, but old me can&#x27;t help but compare this approach to the delightful horror story here from some decades ago...<p><a href="https:&#x2F;&#x2F;thedailywtf.com&#x2F;articles&#x2F;the-inner-json-effect" rel="nofollow noreferrer">https:&#x2F;&#x2F;thedailywtf.com&#x2F;articles&#x2F;the-inner-json-effect</a>
评论 #38620893 未加载
评论 #38620317 未加载
Karellenover 1 year ago
I&#x27;m looking for compatibility tables&#x2F;information, but can&#x27;t find the right place to look.<p>Anyone have any idea how well Edge Functions for Javascript works with Edge&#x27;s Javascript functions?
revskillover 1 year ago
Cloudflare, please take a look !
评论 #38622558 未加载
jerrygoyalover 1 year ago
are supabase edge functions faster&#x2F;better than Vercel edge functions<p>Vercel edge functions don&#x27;t support node so it would be an overall win if the answer is yes.
评论 #38622830 未加载