@lumen-seo/core
v0.2.1
Published
Core primitives for [lumen](https://github.com/nitishagar/lumen) — types, payload models, config loading, the hardened Fetcher, robots handling, and the provider/rule SPIs everything else builds on.
Readme
@lumen-seo/core
Core primitives for lumen — types, payload models, config loading, the hardened Fetcher, robots handling, and the provider/rule SPIs everything else builds on.
- Config loader —
lumen.config.jsonwith unknown-key rejection, budget clamping, andfailThresholdfor CI gates. - Fetcher — per-attempt timeout, full-jitter exponential backoff,
Retry-Afterhandling, cross-origin redirect header stripping, SSRF blocklist revalidated per redirect hop. - Robots — policy evaluation via
robots-parserso every crawl stays polite by construction. - SPIs + registries — provider and rule extension points; load custom rules from plugins with
loadPluginRules(Node subpath).
import { loadConfig, createFetcher } from "@lumen-seo/core";Ships compiled JavaScript + .d.ts — plain node import, no flags. Full docs: https://nitishagar.github.io/lumen/
