Add Postal Code validation for Argentina

Open Beginner friendly
#2,749 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
backend

Research direction

Start by locating the existing postal-code validators and their tests in validator.js, then compare their conventions with the Argentine CPA format given in the issue. Add coverage for valid and invalid Argentine postal codes, and run the relevant validation tests to confirm the new behavior.

Written by the indexing model from the issue text.

Description

https://www.expatfocus.com/argentina/guide/argentina-postal-service

CPA: 1 letter + 4 digits + 3 letters (e.g. C1002AAB)

Dominant language
JavaScript
Stars
23.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from validatorjs/validator.js

All issues in validatorjs/validator.js

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.