UNPKG

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

Version:

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

10 lines (9 loc) 327 B
import TurndownService from 'turndown'; export declare function createTurndownService(): TurndownService; export declare function htmlToMarkdown(html: string): string; export declare function formatArticleMarkdown(article: { title: string; content: string; byline?: string | null; baseUrl?: string; }): string;