Class: HTMLNodeParser()
Extends
HTMLNodeParser<
Options
>(nodes
,options
?):BaseNode
<Metadata
>[]
Type Parameters
• Options extends Record
<string
, unknown
>
Parameters
• options?: Options
Returns
Defined in
packages/node-parser/html/dist/index.d.ts:8
Constructors
new HTMLNodeParser()
new HTMLNodeParser(
params
?):HTMLNodeParser
Parameters
• params?: HTMLNodeParserParam
Returns
Overrides
Defined in
packages/node-parser/html/dist/index.d.ts:10
Properties
htmlToTextOptions
readonly
htmlToTextOptions:undefined
|HtmlToTextOptions
Defined in
packages/node-parser/html/dist/index.d.ts:9
id
id:
string
Inherited from
Defined in
packages/core/schema/dist/index.d.ts:172
includeMetadata
includeMetadata:
boolean
Inherited from
Defined in
packages/core/node-parser/dist/index.d.ts:6
includePrevNextRel
includePrevNextRel:
boolean
Inherited from
Defined in
packages/core/node-parser/dist/index.d.ts:7
Methods
getNodesFromDocuments()
Parameters
• documents: TextNode
<Metadata
>[]
Returns
Inherited from
NodeParser
.getNodesFromDocuments
Defined in
packages/core/node-parser/dist/index.d.ts:11
parseNodes()
Parameters
• documents: TextNode
<Metadata
>[]
Returns
Overrides
Defined in
packages/node-parser/html/dist/index.d.ts:11
postProcessParsedNodes()
protected
postProcessParsedNodes(nodes
,parentDocMap
):TextNode
<Metadata
>[]
Parameters
• parentDocMap: Map
<string
, TextNode
<Metadata
>>
Returns
Inherited from
NodeParser
.postProcessParsedNodes
Defined in
packages/core/node-parser/dist/index.d.ts:9