Applies slugify transformations to a string based on the provided configuration. This is the core logic for converting strings to URL-friendly slugs.
The input string to slugify
Optional
Configuration object (uses global config if not provided)
The slugified string
Applies slugify transformations to a string based on the provided configuration. This is the core logic for converting strings to URL-friendly slugs.