feat(isISO4217): add currency code validator (#1703) by jmpaya ยท Pull Request #1706 ยท validatorjs/validator.js

@jmpaya

Add currency code validator

  • Created ISO 4217 validator using all officially assigned currency codes obtained from this list.

  • Create a test suite with some valid and some invalid currency codes.

  • Update README file adding the new validator.

Checklist

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

@jmpaya

@codecov

fedeci

@jmpaya

@jmpaya

tux-tn

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great job @jpaya17

profnandaa

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contrib! ๐ŸŽ‰

@xmookiwa

@xmookiwa

@xmookiwa

Thanks for your contrib! ๐ŸŽ‰

@xmookiwa

Thanks for your contrib! ๐ŸŽ‰