Skip to main content
Module

x/htm/mod.ts>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/mod.ts";

Properties

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