Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

310 B
Raw Blame
import { customAlphabet } from "nanoid";

export const nanoid = customAlphabet(
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
  12,
);

export const randomid = customAlphabet(
  "0123456789abcdefghijklmnopqrstuvwxyz",
  12,
);

export const generateOtp = customAlphabet("0123456789", 6);