slugify: Convert text into slugs.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Convert a Text object into a visually pleasant URL component.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.0, 0.1.0.1
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), text (>=0.1), unicode-transforms (>=0.1.0.1) [details]
License BSD-3-Clause
Copyright 2020 Willem Van Onsem
Author Willem Van Onsem
Maintainer hapytexeu+gh@gmail.com
Category utils
Home page https://github.com/hapytex/slugify#readme
Source repo head: git clone https://github.com/hapytex/slugify
Uploaded by wvanonsem90 at 2021-01-09T21:39:28Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for slugify-0.1.0.0

[back to package description]

slugify

Build Status of the package by Travis 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 hapytexeu+gh@gmail.com.