0.1.2 • Published 7 years ago
english-soundexphonetic v0.1.2
english-soundexphonetic
Get Soundex phonetic of english text.
const soundexPhonetic = require('english-soundexphonetic');
// soundexPhonetic(<text>, [extended=false])
soundexPhonetic('Robert');
// 'R163'
soundexPhonetic('Rupert');
// 'R163'
soundexPhonetic('Tymczak');
// 'T522'
soundexPhonetic('Tymczak', true);
// 'T522'
soundexPhonetic('Ashcraft', true);
// 'A2613'
soundexPhonetic('Ashcroft', true);
// 'A2613'