Functions for HTML tasks such as escaping or unescaping HTML entities.
import { unescape } from "@std/html/entities"; import { assertEquals } from "@std/assert"; assertEquals(unescape("<>'&AA"), "<>'&AA"); assertEquals(unescape("þð"), "þð");
Add Package
deno add jsr:@std/html
Import symbol
import * as html from "@std/html";
---- OR ----
Import directly with a jsr specifier
import * as html from "jsr:@std/html";
Add Package
npx jsr add @std/html
Import symbol
import * as html from "@std/html";
Add Package
yarn dlx jsr add @std/html
Import symbol
import * as html from "@std/html";
Add Package
pnpm dlx jsr add @std/html
Import symbol
import * as html from "@std/html";
Add Package
bunx jsr add @std/html
Import symbol
import * as html from "@std/html";