Как Can-I-Implement-Joi-Password-Complexity-in-Joi-validation

const passwordComplexity = require('joi-password-complexity').default;

const schema = Joi.object({
  email: Joi.string().min(5).max(255).required().email(),
  password: passwordComplexity().required(),
});
Mappy Show