unlight / clean-up-string

Convert certain unicode characters into their ascii equivalents.
0 stars 0 forks source link

Lodash offers a similar functionality with "deburr" #1

Closed catchin closed 7 years ago

catchin commented 7 years ago

I just wanted to note that lodash.deburr offers a similar functionality (without removing whitespace though). Would help to remove some code here (latins.json).

unlight commented 7 years ago

Hi, looks like it is not the same _.deburr('семки') =>'семки' // but expected 'semki' clean-up-string is more like for creating slug, maybe name is confusing.

catchin commented 7 years ago

Ah okay, understood. Thanks!

Am 4. Juli 2017, 14:37, um 14:37, Roman Vasilev notifications@github.com schrieb:

Hi, looks like it is not the same _.deburr('семки') =>'семки' // but expected 'semki' clean-up-string is more like for creating slug, maybe name is confusing.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/unlight/clean-up-string/issues/1#issuecomment-312867320