Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/simple_utility/src/deno_ext/dom.ts>fetchDOM

Simplify processing for Deno.
Go to Latest
function fetchDOM
import { fetchDOM } from "https://deno.land/x/simple_utility@v2.0.2/src/deno_ext/dom.ts";

Download and parse web page.

Examples

Example 1

const dom = await fetchDOM("https://www.google.com");

Parameters

path: string
optional
option: FetchInit