mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-19 01:07:47 +02:00
♻️ Switch to turborepo (#532)
This commit is contained in:
parent
41ef81aa75
commit
0a836aeec7
419 changed files with 2300 additions and 2504 deletions
13
apps/web/src/utils/nanoid.ts
Normal file
13
apps/web/src/utils/nanoid.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { customAlphabet } from "nanoid/async";
|
||||
|
||||
export const nanoid = customAlphabet(
|
||||
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
||||
12,
|
||||
);
|
||||
|
||||
export const randomid = customAlphabet(
|
||||
"0123456789abcdefghijklmnopqrstuvwxyz",
|
||||
12,
|
||||
);
|
||||
|
||||
export const generateOtp = customAlphabet("0123456789", 6);
|
Loading…
Add table
Add a link
Reference in a new issue