castle-docs/quartz/util/random.ts
2026-01-01 11:16:51 +01:00

3 lines
92 B
TypeScript

export function randomIdNonSecure() {
return Math.random().toString(36).substring(2, 8)
}