@lynxflow/seo-engine 2.4.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ /**
2
+ * 📊 Comprehensive Landing Page CRO Checker
3
+ * Ported & optimized from Python cro_checker.py (23 KB).
4
+ * Evaluates 8 landing page conversion categories with pass/fail criteria and grade rating.
5
+ */
6
+ export interface CroCheckItem {
7
+ id: string;
8
+ name: string;
9
+ category: "headline" | "value_prop" | "social_proof" | "ctas" | "objection_handling" | "risk_reversal" | "urgency" | "structure";
10
+ passed: boolean;
11
+ importance: "critical" | "important" | "enhancement";
12
+ feedback: string;
13
+ }
14
+ export interface LandingCroAuditResult {
15
+ overallCroScore: number;
16
+ passesCroAudit: boolean;
17
+ grade: "A+" | "A" | "B" | "C" | "F";
18
+ criticalFailuresCount: number;
19
+ warningsCount: number;
20
+ checks: CroCheckItem[];
21
+ categoryScores: Record<string, {
22
+ score: number;
23
+ passedCount: number;
24
+ totalCount: number;
25
+ }>;
26
+ conversionRoadmap: string[];
27
+ }
28
+ export declare class LandingCroChecker {
29
+ /**
30
+ * Runs the 8-category CRO checklist against landing page content or markup.
31
+ */
32
+ static auditLandingPage(content: string, config?: {
33
+ pageType?: "seo" | "ppc";
34
+ conversionGoal?: "trial" | "demo" | "lead";
35
+ }): LandingCroAuditResult;
36
+ }
@@ -0,0 +1,27 @@
1
+ /**
2
+ * 👥 Social Community Insights & Real-Voice Vocabulary Aggregator
3
+ * Ported & optimized from Python social_research_aggregator.py.
4
+ * Aggregates pain points, success stories, and authentic user vocabulary from Reddit, YouTube, and community forums.
5
+ */
6
+ export interface CommunityInsightItem {
7
+ source: "reddit" | "youtube" | "community_forum";
8
+ type: "pain_point" | "success_story" | "complaint" | "recommendation" | "real_slang";
9
+ titleOrThread: string;
10
+ quotableText: string;
11
+ userVocabulary: string[];
12
+ upvotesOrViews?: number;
13
+ }
14
+ export interface CommunityResearchSummary {
15
+ topic: string;
16
+ totalInsights: number;
17
+ painPoints: string[];
18
+ realLanguagePhrases: string[];
19
+ quotableExcerpts: string[];
20
+ recommendedAngleForCopy: string;
21
+ }
22
+ export declare class SocialCommunityInsightsAggregator {
23
+ /**
24
+ * Aggregates social insights and structures high-converting copywriting angles.
25
+ */
26
+ static aggregate(topic: string, rawInsights: CommunityInsightItem[]): CommunityResearchSummary;
27
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynxflow/seo-engine",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "description": "High-Performance Universal Programmatic SEO & AI Search Engine SDK",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",