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

@std/html@1.0.0
Built and signed on GitHub Actions

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 (1.0.0)

default

Functions for HTML tasks such as escaping or unescaping HTML entities.

T
EntityList

Object structure for a list of HTML entities.

f
escape

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

f
unescape

Unescapes HTML entities in text.

T
UnescapeOptions

Options for unescape.

T
EntityList

Object structure for a list of HTML entities.

f
escape

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

f
unescape

Unescapes HTML entities in text.

T
UnescapeOptions

Options for unescape.

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.