UNPKG

mktemp

Version:

create temporary files and directories

24 lines 631 B
//#region src/unique_name.d.ts /** * count the number of possible outcomes for the template * * @param template - template string * @returns count of possible outcomes * * @throws {@link TypeError} * if template is not a string */ declare function getOutcomeCount(template: string): number; /** * generate unique name * * @param template - template string * @returns unique name string * * @throws {@link TypeError} * if template is not a string */ declare function generateUniqueName(template: string): string; //#endregion export { generateUniqueName, getOutcomeCount }; //# sourceMappingURL=unique_name.d.mts.map