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

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

Port of fb55/htmlparser2 for Deno
Latest
function getInnerHTML
Deprecated
Deprecated

Use the dom-serializer module directly.

import { getInnerHTML } from "https://deno.land/x/html_parser@v0.1.3/src/utils/mod.ts";

Parameters

node: Node

Node to get the inner HTML of.

optional
options: DomSerializerOptions

Options for serialization.

Returns

string

node's inner HTML.