UNPKG

rkey

Version:
12 lines (10 loc) 396 B
import { TComponentsOfKey } from './types'; type TGetRandomKeySignature = (length: number, components: TComponentsOfKey) => string; /** Generate new unique key @param {number} length length of your key @param {TComponentsOfKey} components additional information about your key @returns {string} unique key */ export declare const getRandomKey: TGetRandomKeySignature; export {};