Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 540 Bytes

File metadata and controls

18 lines (11 loc) · 540 Bytes

Lagon

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.

Related Links