1
0
Fork 0
mirror of https://github.com/Luzifer/mondash.git synced 2024-12-23 12:31:18 +00:00
mondash/vendor/github.com/extemporalgenome/slug
Knut Ahlers fd7056f82f
Switch to dep for vendoring, update libraries
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-22 21:39:52 +01:00
..
LICENSE Moved towards go1.6 vendoring 2016-03-27 18:01:26 +02:00
README.md Moved towards go1.6 vendoring 2016-03-27 18:01:26 +02:00
slug.go Switch to dep for vendoring, update libraries 2017-11-22 21:39:52 +01:00
slug_test.go Switch to dep for vendoring, update libraries 2017-11-22 21:39:52 +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.