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

x/html_parser/src/utils/manipulation.ts>removeElement

Port of fb55/htmlparser2 for Deno
Latest
function removeElement
import { removeElement } from "https://deno.land/x/html_parser@v0.1.3/src/utils/manipulation.ts";

Remove an element from the dom

Parameters

elem: Node

The element to be removed