@pkt/utils
Version:
18 lines (17 loc) • 382 B
TypeScript
import type { SafeAny } from '@pkt/utils/types';
/**
* 生成uuid
* @returns string
*/
export declare function uuid(a?: SafeAny): string;
/**
* 生成哈希值
* @returns number
*/
export declare function generateHash(value: string): number;
/**
* 随机密码
* @param length 长度
* @returns string
*/
export declare function generatePassword(length?: number): string;