@technobuddha/library
Version:
A large library of useful functions
14 lines (13 loc) • 316 B
TypeScript
/**
* Approximate the number of syllables in a string
* @param input - The string
* @returns the number of syllables
* @example
* ```typescript
* syllables('hello'); // 2
* syllables('syllable'); // 3
* ```
* @group String
* @category Analysis
*/
export declare function syllables(input: string): number;