html_page Deno module

I have been learning about Deno lately and often in prototypes I want to serve a simple HTML page so I created this simple module which simplifies creating a basic HTMl page.

In the process I learned about how to setup a Deno Third Party Module and how to get it deployed to

import { Application, Router } from "";
import { makeHTMLPage } from "";

const router = new Router();

router.get("/", async (context) => {
  context.response.body = makeHTMLPage({
    body: `<h1>Hello Deno 🦕</h1>`,
    title: "html_page",

const app = new Application();

await app.listen({ port: 8002 });

Deno playground:

Checkout the module here:

Code repositories