This Deno package assist the developer to write Deno Hooks.
https://deno.land/x/authgear_deno_hook
import { HookEvent, HookResponse } from "https://deno.land/x/[email protected]/mod.ts";
export default async function(e: HookEvent): Promise<HookResponse> {
// Write your hook with the help of the type definition.
}