feat: added seed

This commit is contained in:
2023-07-05 22:43:48 -03:00
parent 2d0f960d49
commit 201f55a1b8
22 changed files with 204 additions and 34 deletions

6
packages/utils/utils.ts Normal file
View File

@@ -0,0 +1,6 @@
export const capitalize = (str: string): string => str.charAt(0).toUpperCase() + str.slice(1);
export const getRandomItem = (array: any[]): any => {
const randomIndex = Math.floor(Math.random() * array.length);
return array[randomIndex];
};