Skip to content

Commit

Permalink
Minor Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathuria committed Jan 5, 2025
1 parent 1cace43 commit 471f570
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ This package includes various categorised validators which can be helppful for v
### Identification and Financial Numbers:
1. **Credit Card Number**: Validate using the Luhn algorithm.
2. **Passport Number**: Support formats for multiple countries. (Upcoming)
3. **TIN/EIN**: Validate Taxpayer Identification Number (TIN) or Employer Identification Number (EIN). (Upcoming)
3. **Aadhaar**: Validites Indian Identity numbers using specific patterns.
4. **TIN/EIN**: Validate Taxpayer Identification Number (TIN) or Employer Identification Number (EIN). (Upcoming)

### Contact Information:
4. **Postal/ZIP Code**: Validate based on country-specific formats. It supports top 25 countries based on ISO 3166-1 alpha-2 codes namely: US, CN, IN, ID, PK, BR, NG, BD, RU, MX, JP, ET, PH, EG, VN, CD, TR, IR, DE, TH, GB, FR, IT, TZ, ZA.
5. **Postal/ZIP Code**: Validate based on country-specific formats. It supports top 25 countries based on ISO 3166-1 alpha-2 codes namely: US, CN, IN, ID, PK, BR, NG, BD, RU, MX, JP, ET, PH, EG, VN, CD, TR, IR, DE, TH, GB, FR, IT, TZ, ZA.

### Personal Information:
5. **Date of Birth**: Validate format and ensure the person’s age falls within a reasonable range. (Upcoming)
6. **Email**: Validate email addresses which conform to standard formats.
6. **Date of Birth**: Validate format and ensure the person’s age falls within a reasonable range. (Upcoming)
7. **Email**: Validate email addresses which conform to standard formats.

### Internet/Network:
7. **IP Address**: Validate IPv4 and IPv6 formats.
8. **URL**: Validate structure and it supports URLs with and without protocols, and it handles query parameters and fragments.
9. **MAC Address**: Validate for networking hardware.(Upcoming)
8. **IP Address**: Validate IPv4 and IPv6 formats.
9. **URL**: Validate structure and it supports URLs with and without protocols, and it handles query parameters and fragments.
10. **MAC Address**: Validate for networking hardware.(Upcoming)

### Document Validation:
10. **PAN (Permanent Account Number)**: For Indian tax records.(Upcoming)
11. **Social Security Number (SSN)**: Validates U.S. Social Security Numbers based on predefined rules.
12. **Social Insurance Number (SIN)**: For Canada or equivalent in other countries. (Upcoming)
13. **Aadhaar**: Checks the validity of Indian Aadhaar numbers using specific patterns.
11. **PAN (Permanent Account Number)**: For Indian tax records.(Upcoming)
12. **Social Security Number (SSN)**: Validates U.S. Social Security Numbers based on predefined rules.
13. **Social Insurance Number (SIN)**: For Canada or equivalent in other countries. (Upcoming)

### Formats and Patterns:
14. **File Extensions**: Validate file names/extensions (e.g., `.jpg`, `.pdf`). (Upcoming)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A library containing various validation functions.",
"main": "index.js",
"scripts": {
"test": "jest --silent --coverage",
"test": "jest --coverage",
"build": "tsc",
"format": "prettier --config .prettierrc --write 'src/**/*.{ts,tsx}'",
"semantic-release": "semantic-release"
Expand Down

0 comments on commit 471f570

Please sign in to comment.