Home

Awesome

slugify

Generate slug from string

Features

Usage

Install with v install einar-hjortdal.slugify

import einar_hjortdal.slugify

slugifier := slugify.default()
slug := slugifier.make('Slugs are NOT snails') // slugs-are-not-snails

Please refer to slugify_test.v for more information.

Notes

make and make_lang return a string that:

Pull requests are welcome to add support for more languages. To add subsitutions or a whole new language, please look at the substitutions.v file and at the CONTRIBUTING.md file.