UNPKG

sly-utils

Version:

sly-utils is a modular and efficient JavaScript utility library designed to simplify complex tasks.

11 lines (10 loc) 365 B
/** * Generates a UUID (version 4) string in the format 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'. * @returns {string} The generated UUID. */ export declare const uuid: () => string; /** * Generates a short UUID-like string in the format 'xxxxxxxx-xxxx'. * @returns {string} The generated short UUID-like string. */ export declare const uuidShort: () => string;