decocms
Version:
CLI for managing deco.chat apps & projects
13 lines • 457 B
TypeScript
/**
* Converts a string into a URL-safe slug.
* - Lowercases the string
* - Replaces spaces and underscores with dashes
* - Removes non-alphanumeric characters (except dashes)
* - Trims leading/trailing dashes
*
* @param input - The string to slugify
* @returns The slugified string
*/
export declare function slugify(input: string): string;
export declare function sanitizeConstantName(input: string): string;
//# sourceMappingURL=slugify.d.ts.map