export const pluriel = (str: string, nb: number) => {
  return nb > 1 ? str + "s" : str;
};

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