Skip to content

kuon/elm-string-normalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

Testing

make test

About

Utilities to normalize strings. (remove diacritics, create slugs or filename from user input)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5