Skip to main content
Home
This release is 31 versions behind 1.0.5 — the latest version of @std/html. Jump to latest

Functions for HTML, such as escaping or unescaping HTML entities

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
94%
Published
2 years ago (0.206.0)

default

Functions for HTML tasks such as escaping or unescaping HTML entities

T
EntityList
No documentation available
f
escape

Escapes text for safe interpolation into HTML text content and quoted attributes

f
unescape

Unescapes HTML entities in text

T
UnescapeOptions
No documentation available
T
EntityList
No documentation available
f
escape

Escapes text for safe interpolation into HTML text content and quoted attributes

f
unescape

Unescapes HTML entities in text

T
UnescapeOptions
No documentation available
v
default
No documentation available

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.