Skip to content

hapytex/slugify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slugify

Build Status of the package by GitHub actions Build Status of the package by Hackage Hackage version badge

Make slugs in Haskell. This package is based on the slugify function of Django [Django-doc].

Usage

One can make use of slugify, slugifyUnicode and slugifyWith from the Text.Slugify module to convert a Text object to an equivalent slug, for example:

*Text.Slugify Text.Slugify> slugify "Haskell 98 Language and Libraries"
"haskell-98-language-and-libraries"

slugify is not safe Haskell

slugify depends on unicode-transforms, which is not safe Haskell.

Contribute

You can contribute by making a pull request on the GitHub repository.

You can contact the package maintainer by sending a mail to [email protected].