const { builder } = require("@netlify/functions") async function myfunction(event, context) { return { statusCode: 200, headers: { "Content-Type": "text/html", }, body: ` Hello World `, } } exports.handler = builder(myfunction);