From 471f57023576d1158900a4276728cd1baa6fa41d Mon Sep 17 00:00:00 2001 From: Avi Kathuria Date: Sat, 4 Jan 2025 23:37:33 -0600 Subject: [PATCH] Minor Updates --- README.md | 22 +++++++++++----------- package.json | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 386cba4..1548874 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index f7bc1a2..f75f974 100644 --- a/package.json +++ b/package.json @@ -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"