UNPKG

329 BTypeScriptView Raw
1/**
2 * Generates a short id.
3 *
4 * Description:
5 * A 4-character alphanumeric sequence (364 = 1.6 million)
6 * This should only be used for JavaScript specific models.
7 * http://stackoverflow.com/questions/6248666/how-to-generate-short-uid-like-ax4j9z-in-js
8 *
9 * Example: `ebgf`
10 */
11export declare function id(): string;