rankforgeai
v0.1.0
Published
AI-powered SEO and web performance optimization — all 15 packages in one
Maintainers
Readme
rankforgeai
AI-powered SEO and web performance optimization — all 15 packages in one.
Install
npm install rankforgeaiUsage
Import by namespace — no name collisions:
import { Core, Meta, AI } from 'rankforgeai'
// Parse HTML
const doc = Core.parseHTML(html)
const meta = Meta.generateMeta({ title: 'My Page', url: 'https://example.com' })
// Generate schema
const schema = Schema.generateArticleSchema({ headline: 'My Article', author: { name: 'Jane' }, datePublished: '2024-01-01' })
// Score performance
const score = Performance.calculateLCPScore(2400) // 94
// Detect security issues
const cloaking = Security.detectCloaking(botHTML, userHTML)
const bot = Security.filterBots(request.headers['user-agent'])
// AI copilot
const copilot = new AI.AICopilot(myLLM)
const response = await copilot.ask('Why is my LCP slow?', { metrics: { lcp: 4200 } })
// CDN cache headers
const headers = Edge.generateCDNCacheHeaders({ pageType: 'blog', ttl: 3600 })See the individual packages for full API docs:
| Namespace | Package |
|---|---|
| Core | @rankforge-root/core |
| Meta | @rankforge-root/meta |
| Schema | @rankforge-root/schema |
| Sitemap | @rankforge-root/sitemap |
| I18n | @rankforge-root/i18n |
| Performance | @rankforge-root/performance |
| Hydration | @rankforge-root/hydration |
| Audit | @rankforge-root/audit |
| Images | @rankforge-root/images |
| Monitor | @rankforge-root/monitor |
| Security | @rankforge-root/security |
| AI | @rankforge-root/ai |
| Analytics | @rankforge-root/analytics |
| Edge | @rankforge-root/edge |
| CLI | @rankforge-root/cli |
