Liking cljdoc? Tell your friends :D

oc.lib.slugify

Functions for creating URL safe slugs from text strings.

Functions for creating URL safe slugs from text strings.
raw docstring

find-available-slugclj

(find-available-slug name taken)

Create a slug from name but find alternatives if the resulting slug is part of the set given as taken

Create a slug from `name` but find alternatives
if the resulting slug is part of the set given as `taken`
sourceraw docstring

max-slug-lengthclj

source

slugifyclj

(slugify resource-name)
(slugify resource-name max-length)
source

valid-slug?clj

(valid-slug? slug)

Return true if the specified slug is potentially a valid slug (follows the rules), otherwise return false.

Return `true` if the specified slug is potentially a valid slug (follows the rules), otherwise return `false`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close