Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/simple_utility/mod.full.ts>domDecode

Simplify processing for Deno.
Latest
function domDecode
import { domDecode } from "https://deno.land/x/simple_utility@v2.3.2/mod.full.ts";

Convert from HTML to DOM.

Examples

Example 1

const dom = domDecode("<div>foo</div>");

Parameters

html: string