UNPKG

double-metaphone

Version:
10 lines (9 loc) 271 B
/** * Get the phonetics according to the Double Metaphone algorithm from a value. * * @param {string} value * Value to use. * @returns {[string, string]} * Double metaphone codes for `value`. */ export function doubleMetaphone(value: string): [string, string]