UNPKG

@bernierllc/content-type-blog-post

Version:

Blog post content type with rich TipTap editor, SEO metadata, database storage, and web publishing

14 lines (13 loc) 468 B
/** * Calculate word count from HTML content * @param content - HTML content string * @returns Word count */ export declare function calculateWordCount(content: string): number; /** * Calculate reading time from word count * @param wordCount - Number of words * @param wordsPerMinute - Average reading speed (default: 200) * @returns Reading time in minutes */ export declare function calculateReadingTime(wordCount: number, wordsPerMinute?: number): number;