extract-title
ai-research-agent / extractor/html-to-cite/extract-title
Functions
extractTitle()
function extractTitle(document): string
Extract and clean title from document
Parameters
Parameter | Type | Description |
---|---|---|
|
| DOM object with article content |
Returns
string
Extracted and cleaned title