Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

Repository files navigation

html_page

https://nest.land/package/html_page

Usage with Deno

import { Application, Router } from "https://deno.land/x/oak/mod.ts";
import { makeHTMLPage } from "https://deno.land/x/html_page/mod.ts";

const router = new Router();

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

const app = new Application();
app.use(router.routes());
app.use(router.allowedMethods());

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages