Skip to main content
Module

x/htm/html.tsx>PluginContext

Create `text/html` response with JSX.
Latest
interface PluginContext
implements Omit<Required<HtmlOptions>,
| "plugins"
| "classes"
| "lang"
| "title"
>
import { type PluginContext } from "https://deno.land/x/htm@0.2.3/html.tsx";

Properties

optional
lang: string
optional
title: string
classes: { html: (string | boolean)[]; body: (string | boolean)[]; }
body: string
status: number
headers: Headers