Skip to content

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

License

Notifications You must be signed in to change notification settings

extemporalgenome/slug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages