@kareemaly/researcher
Version:
CLI tool for web research
13 lines (12 loc) • 389 B
TypeScript
import { ProcessedContent } from "./content";
export interface IContentProcessor {
process(url: string): Promise<ProcessedContent>;
validateUrl(url: string): boolean;
}
export interface ContentProcessorConfig {
headingStyle?: "atx" | "setext";
codeBlockStyle?: "fenced" | "indented";
bulletListMarker?: "-" | "+" | "*";
maxRetries?: number;
timeout?: number;
}