8n8/elm-string-normalize - version: 1.0.0

for more information visit the package's GitHub page

Package contains the following modules:

Elm String Normalize

CI

This package provides a few utilities to process user input into search token or filenames.

While this library will remove diacritics for easier string matching, it will NOT cleanup all unicode characters. This means that Homoglyph will be preserved.

Basic Usage

String.Normalize.filename "Crazy / User Input:soɱeṳser.jpg"

Will return:

"crazy-user-input-someuser.jpg"