Skip to main content
Home
This release is 23 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.213.1)

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