calcom/lib/slugify.ts
2021-08-13 14:50:11 -05:00

5 lines
119 B
TypeScript

export const slugify = (str: string) => {
return str.replace(/\s+/g, "-").toLowerCase();
};
export default slugify;