UNPKG

@just-every/mcp-read-website-fast

Version:

Markdown Content Preprocessor - Fetch web pages, extract content, convert to clean Markdown

17 lines (16 loc) 458 B
export interface FetchMarkdownOptions { depth?: number; maxConcurrency?: number; respectRobots?: boolean; sameOriginOnly?: boolean; userAgent?: string; cacheDir?: string; timeout?: number; } export interface FetchMarkdownResult { markdown: string; title?: string; links?: string[]; error?: string; } export declare function fetchMarkdown(url: string, options?: FetchMarkdownOptions): Promise<FetchMarkdownResult>;