Skip to content

8n8/elm-string-normalize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 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"

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elm 99.4%
  • Makefile 0.6%