Converts a string into a URL-friendly slug. Handles accents and special characters.
Syntax
import { slugify } from "@opentf/std";
slugify(str: string)Examples
slugify('Hello World!'); //=> 'hello-world'
slugify('Café au Lait'); //=> 'cafe-au-lait'
slugify('Special characters like @#$%'); //=> 'special-characters-like'