rkey
Version:
library for create random key
12 lines (10 loc) • 396 B
TypeScript
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 {};