datasquirel/dist/package-shared/utils/slugify.d.ts
Benjamin Toby a3561da53d Updates
2025-01-10 20:35:05 +01:00

10 lines
228 B
TypeScript

/**
* # Return the slug of a string
*
* @example
* slugify("Hello World") // "hello-world"
* slugify("Yes!") // "yes"
* slugify("Hello!!! World!") // "hello-world"
*/
export default function slugify(str: string): string;