UNPKG

@casoon/auditmysite

Version:

Professional website analysis suite with robust accessibility testing, Core Web Vitals performance monitoring, SEO analysis, and content optimization insights. Features isolated browser contexts, retry mechanisms, and comprehensive API endpoints for profe

70 lines 1.78 kB
/** * 🔍 Enhanced SEO Analyzer * * Comprehensive SEO analysis including: * - Meta tags optimization * - Heading structure validation * - Social media meta tags * - Technical SEO factors * - Content quality analysis * - Readability scoring */ import { Page } from 'playwright'; import { EnhancedSEOMetrics, QualityAnalysisOptions } from '../types/enhanced-metrics'; export declare class EnhancedSEOAnalyzer { private options; constructor(options?: QualityAnalysisOptions); /** * Perform comprehensive SEO analysis of a webpage */ analyzeSEO(page: Page, url: string): Promise<EnhancedSEOMetrics>; /** * Analyze meta tags */ private analyzeMetaTags; /** * Analyze heading structure */ private analyzeHeadingStructure; /** * Analyze social media meta tags */ private analyzeSocialTags; /** * Analyze technical SEO factors */ private analyzeTechnicalSEO; /** * Analyze content quality */ private analyzeContentQuality; /** * Calculate overall SEO score */ private calculateOverallSEOScore; /** * Calculate SEO grade from score */ private calculateSEOGrade; /** * Generate SEO recommendations */ private generateSEORecommendations; /** * Estimate search visibility based on SEO score */ private estimateSearchVisibility; /** * Identify key opportunity areas for improvement */ private identifyOpportunityAreas; /** * Helper methods */ private assessKeywordRelevance; private isValidUrl; private calculateReadabilityScore; private getDefaultSocialTags; private getDefaultTechnicalSEO; } //# sourceMappingURL=enhanced-seo-analyzer.d.ts.map