Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

parseDOM

deprecated

Parses data, returns an array of the root nodes.

Note that the root nodes still have a Document node as their parent. Use parseDocument to get the Document node instead.

@deprecated

Use parseDocument instead.

function parseDOM(data: string, options?: Options): Node[];
§
parseDOM(data: string, options?: Options): Node[]
[src]

§Parameters

§
data: string
[src]

The data that should be parsed.

§
options?: Options optional
[src]

Optional options for the parser and DOM builder.

§Return Type