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

x/evt/lib/types/lib.dom.ts>DOMParser

💧EventEmitter's typesafe replacement
Go to Latest
interface DOMParser
import { type DOMParser } from "https://deno.land/x/evt@v2.4.19/lib/types/lib.dom.ts";

Provides the ability to parse XML or HTML source code from a string into a DOM Document.

Methods

parseFromString(str: string, type: SupportedType): Document