To add another example, the syntax for Lagon is similar to Vercel, except that the function is a named export:
export function handler(request) {
return new Response("Hello World");
}
Logging is the same (using console.log
/ console.debug
/ console.warn
/ console.error
). I believe this syntax is already used by most (if not all) of the runtimes out there.