Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
laktek
on Nov 7, 2024
|
parent
|
context
|
favorite
| on:
Edge Scripting: Build and run applications at the ...
I think the closest thing we got is the Default fetch export
https://docs.deno.com/runtime/fundamentals/http_server/#defa...
, which Cloudflare Workers, Deno Deploy and Supabase Edge Functions support.
throwitaway1123
on Nov 7, 2024
|
next
[–]
Node is the only major outlier. Bun supports this convention as well:
https://bun.sh/docs/api/http#export-default-syntax
apitman
on Nov 8, 2024
|
prev
[–]
I had no idea this was a thing. Thanks!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: