@eversports/prepare-string
v2.6.0-2
Published
Prepares a given string. Will replace umlauts to ascii ae, ue, oe, sz. Replaces Whitespace to _ and removes all other characters
Maintainers
Keywords
Readme
prepare-string
- String gets lowercased
- Replaces umlauts:
ätoaeötooeütoueßtosz
- Replaces and removes unnecessary whitespace
- Ever Whitespace character gets replace by a single
_
- Ever Whitespace character gets replace by a single
- Replaces everything but the characters
a-zand_
Example
- This
Scheißgeile Tennisplätze!!!!getsscheiszgeile_tennisplaetze
