7 lines
189 B
TypeScript
7 lines
189 B
TypeScript
/**
|
|
* Produce a UID of desired length.
|
|
* @NOTE Relies on a hexadecimal alphabet (A-E, 0-9).
|
|
* @param {number} [length] Defaults to `11`
|
|
*/
|
|
export function uid(length?: number): string;
|