Extract SEO metadata from HTML.
Parsed HTML document or raw HTML string
SEO metadata object
Extracts standard SEO meta tags including title, description, keywords, and browser-specific configuration. All fields are optional.
// With parsed document (recommended for multiple extractions)const doc = parseHTML(htmlString);const seo = extractSEO(doc);// Or directly with HTML stringconst seo = extractSEO(htmlString); Copy
// With parsed document (recommended for multiple extractions)const doc = parseHTML(htmlString);const seo = extractSEO(doc);// Or directly with HTML stringconst seo = extractSEO(htmlString);
Extract SEO metadata from HTML.