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

x/html_parser/src/utils/mod.ts>getChildren

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

Get a node's children.

Parameters

elem: Node

Node to get the children of.

Returns

elem's children, or an empty array.