UNPKG

datadancer

Version:

## What is DataDancer?

42 lines (41 loc) 1.21 kB
import { Base } from '../common/Base'; import { Gender, Language } from '../common/type'; export declare class StringMethods extends Base { /** * fields */ /** * properties */ /** * constructor */ constructor(); /** * methods */ /** * nameGenerator * * support eng, japan, korea, chinese, India name * * if you generate eng, japanese, chinese, India, Hindi, German Name, you can choose gender * * (lang?: "kor" | "eng" | "jp" | "chi" | "india" | "hindi" | "german", gender?: "male" | "female") */ nameGenerator(lang?: Language, gender?: Gender): string; /** * you can get password Randomly, use sum nameGenerator function. * * Password must be set at least 4 digits. * * Default return password value is only inludes String. * * If you want to inlude number or symbol or both in password, * * you can also set it * * (digit: number, include?: "string" | "all" | "number" | "symbol") */ passwordGenerator(digit: number, include?: 'string' | 'all' | 'number' | 'symbol'): string | false; }