diff --git a/backend/generators.ts b/backend/generators.ts new file mode 100644 index 00000000..ca16e8ae --- /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' });