UNPKG
metaphone
Version:
latest (2.0.1)
2.0.1
2.0.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
Metaphone implementation
words.github.io/metaphone/
words/metaphone
metaphone
/
index.d.ts
10 lines
(9 loc)
•
239 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * 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