Skip to main content

@thai/html@0.0.5
Built and signed on GitHub Actions

Safely generate HTML strings

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 months ago (0.0.5)
method Hypertext.prototype.toHtml
Hypertext.prototype.toHtml(): string

Get the HTML code.

Return Type

Add Package

deno add jsr:@thai/html

Import symbol

import { Hypertext } from "@thai/html";

---- OR ----

Import directly with a jsr specifier

import { Hypertext } from "jsr:@thai/html";

Add Package

npx jsr add @thai/html

Import symbol

import { Hypertext } from "@thai/html";

Add Package

yarn dlx jsr add @thai/html

Import symbol

import { Hypertext } from "@thai/html";

Add Package

pnpm dlx jsr add @thai/html

Import symbol

import { Hypertext } from "@thai/html";

Add Package

bunx jsr add @thai/html

Import symbol

import { Hypertext } from "@thai/html";