diff --git a/backend/generators.ts b/backend/generators.ts new file mode 100644 index 0000000..ca16e8a --- /dev/null +++ b/backend/generators.ts @@ -0,0 +1,2 @@ +import cryptoRandomString from 'crypto-random-string'; +export const random = ({ length }: { length: number }) => cryptoRandomString({ length, type: 'alphanumeric' });