faf-cli
Version:
😽 TURBO-CAT: The Rapid Catalytic Converter • Project DNA ✨ for ANY AI • Fully Integrated with React, Next.js, Svelte, TypeScript, Vite & n8n • FREE FOREVER • 10,000+ developers • Championship Edition
28 lines • 855 B
TypeScript
/**
* Markdown to Context Extractor
* Converts ANY markdown to structured YAML and extracts relevant context
*/
interface ExtractedContext {
title?: string;
description?: string;
techStack?: string[];
goals?: string[];
features?: string[];
commands?: Record<string, string>;
dependencies?: string[];
raw?: Record<string, any>;
}
/**
* Parse markdown and extract structured context
*/
export declare function markdownToContext(markdown: string): ExtractedContext;
/**
* Convert extracted context to FAF-compatible structure
*/
export declare function contextToFafData(context: ExtractedContext): Partial<any>;
/**
* Smart README ingestion - extract only valuable context
*/
export declare function ingestReadme(readmePath: string): Promise<Partial<any>>;
export {};
//# sourceMappingURL=markdown-to-context.d.ts.map