UNPKG

metaphone

Version:
10 lines (9 loc) 239 B
/** * Get the phonetics according to the original Metaphone algorithm from a value. * * @param {string} value * Value to use. * @returns {string} * Metaphone code for `value`. */ export function metaphone(value: string): string