feat(isISO31661Numeric): Add validation for ISO 3166-1 numeric country codes by RobinvanderVliet · Pull Request #2399 · validatorjs/validator.js

The ISO 3166-1 standard contains three sets of country codes: two-letter, three-letter, and three-digit. Currently, we have a validator for two-letter codes (isISO31661Alpha2) and three-letter codes (isISO31661Alpha3), but not for three-digit codes. This pull request addresses that.

References

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)