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

x/lume/deps/dom.ts>DOMParser#parseFromString

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method DOMParser.prototype.parseFromString
import { DOMParser } from "https://deno.land/x/lume@v1.18.1/deps/dom.ts";

Parameters

source: string
mimeType: DOMParserMimeType

Returns

HTMLDocument | null