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

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

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

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

Methods

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