@citemap/generator
v0.1.0
Published
AI-powered citemap.json generator — takes a URL or business data and produces a valid CiteMap (BYOK: Bring Your Own API Key)
Maintainers
Readme
@citemap/generator
AI-powered citemap.json generator. Takes a URL or business data as input and produces a valid CiteMap file with all applicable modules populated.
BYOK — Bring Your Own API Key. Works with Claude (Anthropic) or OpenAI out of the box.
How It Works
- Provide a URL or business information
- The generator scrapes and analyzes the site
- AI detects applicable modules and generates structured data
- Output is validated against the v2.0 spec automatically
Installation
npm install @citemap/generatorUsage (preview)
const { generate } = require('@citemap/generator');
const citemap = await generate({
url: 'https://example.com',
apiKey: process.env.ANTHROPIC_API_KEY,
model: 'claude-haiku-4-5' // or 'claude-sonnet-4-5'
});Status
This package is under active development. For immediate CiteMap generation, use CiteMaps.ai.
Related Packages
@citemap/schema— JSON Schema definition and TypeScript types@citemap/validator— Validate citemap.json files against the v2.0 spec@citemap/cli— Command-line tool for validating citemap.json files
Links
- CiteMap Specification
- CiteMaps.ai — Generate and validate CiteMaps online
- GitHub
License
MIT
