Skip to main content
On this page

@std/html

Overview Jump to heading

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

import { unescape } from "@std/html/entities";
import { assertEquals } from "@std/assert";

assertEquals(unescape("&lt;&gt;'&amp;AA"), "<>'&AA");
assertEquals(unescape("&thorn;&eth;"), "&thorn;&eth;");

Add to your project Jump to heading

deno add jsr:@std/html

See all symbols in @std/html on

Did you find what you needed?

Privacy policy