@lynxflow/seo-engine 1.0.0 → 1.3.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.
Files changed (54) hide show
  1. package/README.md +333 -82
  2. package/connectors/cloudflare-worker/worker.js +54 -26
  3. package/connectors/laravel/LynxSeoController.php +8 -8
  4. package/connectors/wordpress/lynxseo-connector.php +296 -53
  5. package/dist/ai-copilot-client.d.ts +36 -0
  6. package/dist/analytics-client.d.ts +53 -0
  7. package/dist/auth-key.d.ts +57 -0
  8. package/dist/backlinks-client.d.ts +31 -0
  9. package/dist/engine.d.ts +79 -0
  10. package/dist/i18n-dictionary.d.ts +30 -0
  11. package/dist/index.d.ts +46 -0
  12. package/dist/index.js +1561 -169
  13. package/dist/index.mjs +1759 -0
  14. package/dist/indexnow-client.d.ts +25 -0
  15. package/dist/lago-token-meter.d.ts +36 -0
  16. package/dist/schema-builder.d.ts +27 -0
  17. package/dist/serp-client.d.ts +42 -0
  18. package/dist/site-auditor.d.ts +29 -0
  19. package/dist/site-crawler.d.ts +76 -0
  20. package/dist/src/ai-copilot-client.d.ts +36 -0
  21. package/dist/src/analytics-client.d.ts +53 -0
  22. package/dist/src/auth-key.d.ts +57 -0
  23. package/dist/src/backlinks-client.d.ts +31 -0
  24. package/dist/src/engine.d.ts +72 -0
  25. package/dist/src/i18n-dictionary.d.ts +30 -0
  26. package/dist/src/index.d.ts +42 -0
  27. package/dist/src/indexnow-client.d.ts +25 -0
  28. package/dist/src/lago-token-meter.d.ts +36 -0
  29. package/dist/src/schema-builder.d.ts +27 -0
  30. package/dist/src/serp-client.d.ts +42 -0
  31. package/dist/src/site-auditor.d.ts +29 -0
  32. package/dist/src/token-quota-manager.d.ts +37 -0
  33. package/dist/src/types.d.ts +145 -0
  34. package/dist/token-quota-manager.d.ts +37 -0
  35. package/dist/types.d.ts +162 -0
  36. package/lynxflow-seo-engine-1.2.0.tgz +0 -0
  37. package/package.json +1 -1
  38. package/src/ai-copilot-client.ts +84 -0
  39. package/src/analytics-client.ts +141 -0
  40. package/src/auth-key.ts +203 -0
  41. package/src/backlinks-client.ts +85 -0
  42. package/src/engine.ts +508 -85
  43. package/src/i18n-dictionary.ts +362 -0
  44. package/src/index.ts +22 -4
  45. package/src/indexnow-client.ts +94 -0
  46. package/src/lago-token-meter.ts +7 -2
  47. package/src/schema-builder.ts +87 -0
  48. package/src/serp-client.ts +89 -0
  49. package/src/site-auditor.ts +83 -0
  50. package/src/site-crawler.ts +406 -0
  51. package/src/types.ts +148 -28
  52. package/tsconfig.json +14 -0
  53. package/lynxflow-seo-engine-1.0.0.tgz +0 -0
  54. package/src/licensing.ts +0 -138
@@ -0,0 +1,30 @@
1
+ /**
2
+ * 🌍 Global Multi-Continent i18n & Localization Dictionary
3
+ *
4
+ * Comprehensive copywriting templates across:
5
+ * - 🌍 Europe & North America: FR, EN, ES, DE, IT, PT, NL, RU, TR
6
+ * - 🌏 Asia & South-East Asia: JA, ZH, KO, HI, ID, VI, TH, TL, BN, UR
7
+ * - 🌎 South America: PT (Brazil), ES (LatAm)
8
+ * - 🌍 Africa: SW (Swahili), HA (Hausa), YO (Yoruba), AF (Afrikaans), AR (North Africa)
9
+ */
10
+ export interface LocaleCopy {
11
+ geoTitle: (service: string, city: string, country: string, brand: string) => string;
12
+ geoDesc: (service: string, city: string, brand: string) => string;
13
+ geoDirectAnswer: (brand: string, service: string, city: string, country: string, price: number, currency: string) => string;
14
+ vsTitle: (brand: string, competitor: string, year: number) => string;
15
+ vsDesc: (brand: string, competitor: string) => string;
16
+ vsDirectAnswer: (brand: string, competitor: string) => string;
17
+ altTitle: (competitor: string, year: number, brand: string) => string;
18
+ altDesc: (competitor: string, brand: string) => string;
19
+ altDirectAnswer: (brand: string, competitor: string) => string;
20
+ industryTitle: (service: string, industry: string, brand: string) => string;
21
+ industryDesc: (service: string, industry: string) => string;
22
+ faqTitle: string;
23
+ faqDeploymentQ: string;
24
+ faqDeploymentA: string;
25
+ faqCommitmentQ: string;
26
+ faqCommitmentA: string;
27
+ }
28
+ export declare const DICTIONARIES: Record<string, LocaleCopy>;
29
+ export declare function getDictionary(lang?: string): LocaleCopy;
30
+ export declare function isSupportedLanguage(lang: string): boolean;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * 🦁 @lynxflow/seo-engine
3
+ *
4
+ * Proprietary Zero-Load Edge SEO Engine & Automated Marketing Suite.
5
+ * - On-Demand Page Generation (< 0.05ms)
6
+ * - Product Marketing & CRO Injection (PAS Framework, Friction Reducers)
7
+ * - Google Gold Stars Schema (4.9/5 on 1,280 reviews)
8
+ * - Direct-Answer GEO Blocks for AI Search (ChatGPT, Perplexity)
9
+ * - License Key Verification & Rate Limiting
10
+ * - 🦩 Lago Metered Token Billing (`ai_tokens`) & Hyperswitch Payment Switch
11
+ */
12
+ export * from "./engine";
13
+ export * from "./auth-key";
14
+ export * from "./token-quota-manager";
15
+ export * from "./lago-token-meter";
16
+ export * from "./indexnow-client";
17
+ export * from "./site-auditor";
18
+ export * from "./site-crawler";
19
+ export * from "./schema-builder";
20
+ export * from "./analytics-client";
21
+ export * from "./serp-client";
22
+ export * from "./backlinks-client";
23
+ export * from "./ai-copilot-client";
24
+ export * from "./types";
25
+ import { LynxSeoEngine, type EngineConfig } from "./engine";
26
+ import { ApiKeyGuardian } from "./auth-key";
27
+ import { TokenQuotaManager } from "./token-quota-manager";
28
+ import { LagoTokenMeter, HyperswitchGateway } from "./lago-token-meter";
29
+ import { IndexNowClient } from "./indexnow-client";
30
+ import { SiteAuditor } from "./site-auditor";
31
+ import { DeepCrawlerAuditor } from "./site-crawler";
32
+ import { SchemaGraphBuilder } from "./schema-builder";
33
+ export declare function createLynxSeoEngine(config: EngineConfig): LynxSeoEngine;
34
+ export declare const LynxSeo: {
35
+ createEngine: typeof createLynxSeoEngine;
36
+ validateApiKey: typeof ApiKeyGuardian.validate;
37
+ createTokenManager: (tier: "starter" | "growth" | "enterprise") => TokenQuotaManager;
38
+ createLagoMeter: (apiKey?: string, lagoUrl?: string) => LagoTokenMeter;
39
+ createHyperswitchGateway: (apiKey: string, baseUrl?: string) => HyperswitchGateway;
40
+ submitToIndexNow: typeof IndexNowClient.submitUrls;
41
+ inspectMeta: typeof SiteAuditor.inspectMeta;
42
+ crawlDomain: typeof DeepCrawlerAuditor.crawlAndAuditDomain;
43
+ inspectHtmlSnapshot: typeof DeepCrawlerAuditor.inspectHtmlSnapshot;
44
+ buildSchemaGraph: typeof SchemaGraphBuilder.buildGraph;
45
+ };
46
+ export default LynxSeo;