Skip to content
xtgoPublic

About

Go package for producing slugs, with slight sensitivity toward non-latin languages

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

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.

About

Go package for producing slugs, with slight sensitivity toward non-latin languages

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages