mark2web/vendor/github.com/extemporalgenome/slug
Sebastian Frank a781485c0a
Some checks failed
continuous-integration/drone/push Build is failing
no git submodules
2022-02-28 10:28:34 +01:00
..
LICENSE no git submodules 2022-02-28 10:28:34 +01:00
README.md no git submodules 2022-02-28 10:28:34 +01:00
slug.go no git submodules 2022-02-28 10:28:34 +01:00

slug

See the API docs.

Latin-ish inputs should have very stable output. All inputs are passed through an NFKD transform, and anything still in the unicode Letter and Number categories are passed through intact. Anything in the Mark or Lm/Sk categories (modifiers) are skipped, and runs of characters from any other categories are collapsed to a single hyphen.