Type definitions for the mdfetch library.
This module contains all TypeScript interfaces and type definitions used throughout the mdfetch library. It defines the structure of configuration options, article data, and conversion results.
import type { ConversionResult, ReaderOptions, Article } from 'mdfetch';// Use types for function parameters and return valuesasync function processArticle(url: string, options: ReaderOptions): Promise<ConversionResult> { const result = await readURL(url, options); return result;} Copy
import type { ConversionResult, ReaderOptions, Article } from 'mdfetch';// Use types for function parameters and return valuesasync function processArticle(url: string, options: ReaderOptions): Promise<ConversionResult> { const result = await readURL(url, options); return result;}
Type definitions for the mdfetch library.
This module contains all TypeScript interfaces and type definitions used throughout the mdfetch library. It defines the structure of configuration options, article data, and conversion results.
Example