extract-author
ai-research-agent / extractor/html-to-cite/extract-author
Functions
extractAuthor()
function extractAuthor(document): null | object
Extracts the author from the document and validates it as a human name
Parameters
Parameter | Type | Description |
---|---|---|
|
|
Returns
null
| object
author_cite, author_short, author_type - or null if no valid author found