Strings to URL slugs — diacritics removed, spaces dashed, lowercased.
Slugs are the human-readable parts of URLs and file names: 'How to Cook Pasta — A Beginner's Guide' becomes 'how-to-cook-pasta-a-beginners-guide'. This tool does the conversion correctly: lowercases, strips diacritics (é → e, ü → u, ñ → n), transliterates common non-Latin scripts (best-effort), removes punctuation, collapses whitespace into single dashes, and trims leading/trailing dashes. You can configure the separator, max length, and whether to preserve case. Useful for blog post URLs, S3 object keys, branch names, and anywhere else you need a deterministic, URL-safe identifier from arbitrary user input.