import slug from 'slug'; export function fpSlugify(str: string): string { return slug(str, { replacement: '-', lower: true, locale: 'en', trim: true, }); }