Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/html_parser/src/utils/entities/mod.ts>decode

Port of fb55/htmlparser2 for Deno
Latest
function decode
import { decode } from "https://deno.land/x/html_parser@v0.1.3/src/utils/entities/mod.ts";

Decodes a string with entities.

Parameters

data: string

String to decode.

optional
options: DecodingOptions | EntityLevel = [UNSUPPORTED]

Decoding options.

Returns

string