Files
sendou.ink/app/utils/id.ts
2026-09-02 21:02:01 +03:00

8 lines
145 B
TypeScript

import { nanoid } from "nanoid";
export const SHORT_NANOID_LENGTH = 10;
export function shortNanoid() {
return nanoid(SHORT_NANOID_LENGTH);
}