feat(isISO4217): add currency code validator (#1703) by jmpaya ยท Pull Request #1706 ยท validatorjs/validator.js
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)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great job @jpaya17
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contrib! ๐
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters