@eversports/prepare-string
Prepares a given string. Will replace umlauts to ascii ae, ue, oe, sz. Replaces Whitespace to _ and removes all other characters
Last updated 3 years ago by eversteini .
UNLICENSED · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @eversports/prepare-string 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.6.0-2                                ...           latest (3 years ago)

10 Versions

  • 2.6.0-2                                ...           3 years ago
  • 2.5.0                                ...           3 years ago
  • 2.5.0-8                                ...           3 years ago
  • 2.5.0-0                                ...           3 years ago
  • 2.2.20                                ...           3 years ago
  • 2.0.7                                ...           3 years ago
  • 2.0.6                                ...           3 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 12
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |