0

Is there any JavaScript/TypeScript alternative that works similarly to unidecode library for Python? (Converts Unicode characters to ASCII) https://pypi.org/project/Unidecode/

E.g.

>>> unidecode('kožušček')
'kozuscek'
>>> unidecode('30 \U0001d5c4\U0001d5c6/\U0001d5c1')
'30 km/h'
>>> unidecode('\u5317\u4EB0')
'Bei Jing '
isherwood
  • 58,414
  • 16
  • 114
  • 157

0 Answers0