Skip to content

Commit

Permalink
feat: migrated random generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Moore committed Jul 14, 2023
1 parent e0e4acb commit 26e4f67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/generators.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import cryptoRandomString from 'crypto-random-string';
export const random = ({ length }: { length: number }) => cryptoRandomString({ length, type: 'alphanumeric' });

0 comments on commit 26e4f67

Please sign in to comment.