Appearance
const strongPassword: Validator<string>;
Strong password validation / 强密码校验
strongPassword('Abcdef1!') // => { isValid: true, message: undefined } strongPassword('weakpass') // => { isValid: false, message: 'Password is not strong enough / 密码强度不足' }
1.0.0