charlesLoder/hebrew-transliteration

Should return non-Hebrew text

Closed this issue · 1 comments

Probably something like

module.exports = text => [...text].map(char => char in hebChars ? hebChars[char] : char).reduce((a, c) => a + c)

tests pass