The text to analyze
Reading speed in words per minute (default: 200)
TextStatistics object with various metrics
getTextStats('Hello world! This is a test.');
// {
// characterCount: 28,
// characterCountNoSpaces: 23,
// letterCount: 21,
// alphanumericCount: 21,
// wordCount: 6,
// sentenceCount: 2,
// paragraphCount: 1,
// averageWordLength: 3.5,
// averageSentenceLength: 3,
// readingTimeSeconds: 2,
// readingTimeFormatted: '2 sec',
// fleschReadingEase: 105.1,
// fleschKincaidGrade: -0.7
// }
Analyzes text and returns comprehensive statistics about it