6 lines
248 B
TypeScript
6 lines
248 B
TypeScript
/**
|
|
* Generates a K-Sortable Unique Identifier (KSUID): a 27-char base62 string
|
|
* encoding 4 bytes of timestamp + 16 bytes of random data.
|
|
* Compatible with https://github.com/segmentio/ksuid
|
|
*/
|
|
export declare function generateKsuid(): string;
|