@lynxflow/seo-engine 2.5.0 β 2.7.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.
- package/README.md +1 -1
- package/dist/article-strategic-planner.d.ts +35 -0
- package/dist/content-quality-scorer.d.ts +40 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +549 -0
- package/dist/index.mjs +549 -0
- package/dist/landing-channel-scorer.d.ts +41 -0
- package/dist/landing-cro-checker.d.ts +36 -0
- package/dist/social-community-insights.d.ts +27 -0
- package/dist/topic-cluster-architect.d.ts +39 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* πΈοΈ Topic Cluster & Pillar-Spoke Cross-Linking Architect
|
|
3
|
+
* Ported & optimized from Python research_topic_clusters.py (22 KB).
|
|
4
|
+
* Builds a complete 1-to-N topic cluster map with pillar hub, long-tail sub-spokes, and bidirectional internal links.
|
|
5
|
+
*/
|
|
6
|
+
export interface TopicSpokeNode {
|
|
7
|
+
subTopic: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
searchIntent: "informational" | "commercial_investigation" | "transactional";
|
|
10
|
+
monthlySearchVolume: number;
|
|
11
|
+
keywordDifficulty: number;
|
|
12
|
+
targetWordCount: number;
|
|
13
|
+
inboundLinks: string[];
|
|
14
|
+
outboundLinks: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface TopicClusterTopology {
|
|
17
|
+
pillarTopic: string;
|
|
18
|
+
pillarSlug: string;
|
|
19
|
+
totalSubSpokes: number;
|
|
20
|
+
totalEstimatedSearchVolume: number;
|
|
21
|
+
spokes: TopicSpokeNode[];
|
|
22
|
+
crossLinkMatrix: Array<{
|
|
23
|
+
fromSlug: string;
|
|
24
|
+
toSlug: string;
|
|
25
|
+
anchorText: string;
|
|
26
|
+
}>;
|
|
27
|
+
clusterAuthorityPotential: "dominant" | "strong" | "emerging";
|
|
28
|
+
}
|
|
29
|
+
export declare class TopicClusterArchitect {
|
|
30
|
+
/**
|
|
31
|
+
* Generates a fully mapped topic cluster with cross-links.
|
|
32
|
+
*/
|
|
33
|
+
static buildCluster(pillarTopic: string, subTopics: Array<{
|
|
34
|
+
name: string;
|
|
35
|
+
volume?: number;
|
|
36
|
+
difficulty?: number;
|
|
37
|
+
intent?: "informational" | "commercial_investigation" | "transactional";
|
|
38
|
+
}>): TopicClusterTopology;
|
|
39
|
+
}
|