Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
7 lines
271 B
TypeScript
7 lines
271 B
TypeScript
/**
|
|
* Produce a cryptographically secure (CSPRNG) UID of desired length using the current environment's `crypto` module.
|
|
* @NOTE Relies on a hexadecimal alphabet (A-E, 0-9).
|
|
* @param {number} [length] Defaults to `11`
|
|
*/
|
|
export function uid(length?: number): string;
|