Skip to main content

@ydcjeff/ezedge@0.0.10

Take web app easy to the edge.

Works with
This package works with Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
94%
Published
3 weeks ago
indexrender_html
function render_html
deno add @ydcjeff/ezedge
import { render_html } from "@ydcjeff/ezedge";
npx jsr add @ydcjeff/ezedge
import { render_html } from "@ydcjeff/ezedge";
yarn dlx jsr add @ydcjeff/ezedge
import { render_html } from "@ydcjeff/ezedge";
pnpm dlx jsr add @ydcjeff/ezedge
import { render_html } from "@ydcjeff/ezedge";
bunx jsr add @ydcjeff/ezedge
import { render_html } from "@ydcjeff/ezedge";

Render the complete HTML to be sent.

Parameters

unnamed 0: { url: string | URL; body?: string; head?: string | { headTags: string; htmlAttrs: string; bodyAttrs: string; }; csr?: boolean; data?: unknown; }

Return Type