UNPKG

seo-manager-pro

Version:

A powerful SEO meta and schema manager for Angular, React, Vue and Vanilla JS apps.

24 lines (23 loc) 651 B
export type SchemaType = 'Product' | 'FAQPage' | 'Article'; export interface SeoConfig { title: string; description: string; image?: string; canonicalUrl?: string; robots?: 'index,follow' | 'noindex,nofollow' | 'index,nofollow' | 'noindex,follow'; schema?: { type: SchemaType; data: Record<string, any>; }[]; customMetaTags?: { name: string; content: string; }[]; } export declare class SeoManagerPro { static updateSeo(config: SeoConfig): void; private static updateMeta; private static updateCanonical; private static addSchema; private static clearPrevious; }