sindresorhus / transliterate

Convert Unicode characters to Latin characters using transliteration
MIT License
290 stars 20 forks source link

Added option to give chars to preserve #19

Closed dersimoezdag closed 3 years ago

dersimoezdag commented 3 years ago

Now you can submit a string which will be a reference for chars to be preserved. To allow custom replacements without interference with the preserve string the replacement with the custom replacements is made after the regular replacement

dersimoezdag commented 3 years ago

Oh, and I added the uppercase ẞ to German dictionary

sindresorhus commented 3 years ago

Please run npm test locally and ensure it passes.

sindresorhus commented 3 years ago

What's the specific use-case for this? I'm not against it, but no one else has requested this yet, so I'm curious how much of a need there really is for it.