Discover Packages
github.com/Tight-Line/creel
internal
slug
package
Version:
v0.7.1
Opens a new window with list of versions in this module.
Published: Mar 11, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package slug provides URL-friendly slug generation from names.
Generate creates a slug from the given name with a random 4-character suffix.
If name is empty, returns just the random suffix.
Slugify converts a name into a URL-friendly slug.
It lowercases the input, replaces non-alphanumeric characters with hyphens,
and trims leading/trailing hyphens.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.