llmoptimizer
Version: 
Generate an llms.txt summary of your website/docs for LLMs (framework-agnostic with Vite/Next/Nuxt/Astro/Remix helpers).
21 lines (19 loc) • 523 B
text/typescript
interface AutoOptions {
    projectRoot?: string;
    baseUrl?: string;
    outFile?: string;
    outDir?: string;
    format?: 'markdown' | 'json';
    concurrency?: number;
    obeyRobots?: boolean;
    requestDelayMs?: number;
    maxPages?: number;
    log?: boolean;
}
type AutoResult = {
    mode: 'docs' | 'build' | 'adapter' | 'crawl';
    outPath: string;
    pages?: number;
};
declare function autoPostbuild(opts?: AutoOptions): Promise<AutoResult>;
export { type AutoOptions, type AutoResult, autoPostbuild };