validatorjs string min length code example Example: validatorjs number const validationRule = 'required|numeric';