@eversports/prepare-string

2.6.0-2 • Public • Published

prepare-string

  1. String gets lowercased
  2. Replaces umlauts:
    • ä to ae
    • ö to oe
    • ü to ue
    • ß to sz
  3. Replaces and removes unnecessary whitespace
    • Ever Whitespace character gets replace by a single _
  4. Replaces everything but the characters a-z and _

Example

  • This Scheißgeile Tennisplätze!!!! gets scheiszgeile_tennisplaetze

Readme

Keywords

none

Package Sidebar

Install

npm i @eversports/prepare-string

Weekly Downloads

1

Version

2.6.0-2

License

UNLICENSED

Last publish

Collaborators

  • zdesiree
  • dobiasova
  • y4nnick
  • treylon
  • tomas.fabry
  • thomasfr
  • eversteini
  • gtstogy
  • dandulus
  • chubby_princess77
  • slavisam
  • schnuffel1729
  • dragidare
  • ramzesenok
  • stefanfuchs