Class: BaseExtractor
Hierarchy
-
BaseExtractor
Implements
Constructors
constructor
• new BaseExtractor(): BaseExtractor
Returns
Properties
disableTemplateRewrite
• disableTemplateRewrite: boolean
= false
Defined in
packages/core/src/extractors/types.ts:13
inPlace
• inPlace: boolean
= true
Defined in
packages/core/src/extractors/types.ts:14
isTextNodeOnly
• isTextNodeOnly: boolean
= true
Defined in
packages/core/src/extractors/types.ts:10
metadataMode
• metadataMode: MetadataMode
= MetadataMode.ALL
Defined in
packages/core/src/extractors/types.ts:12
numWorkers
• numWorkers: number
= 4
Defined in
packages/core/src/extractors/types.ts:15
showProgress
• showProgress: boolean
= true
Defined in
packages/core/src/extractors/types.ts:11
Methods
extract
▸ extract(nodes
): Promise
<Record
<string
, any
>[]>
Parameters
Name | Type |
---|---|
nodes | BaseNode <Metadata >[] |