Questo è l'estrattore degli hreflang
npm install
Richiede in input:
body= {
site: { url },
page: { path, page_content, page_headers },
}
Output di esempio
Working in progress
{
hrefLangs: [],
hasHreflang: boolean,
hasConflicts: boolean,
selfReferenceLanguage: string,
htmlLang: string
}
npm i hreflang-extractor