kuon/elm-string-normalize/1.0.4

NOTE: the latest version is 1.0.6

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"