The Ultimate Utility Library for Indian Developers: ind-utils-pro ๐ฎ๐ณ
If you are building an Indian Fintech app, an E-commerce platform, or any registration form, you know that validating identifiers like PAN, GST, Aadhaar, and IFSC can be a real headache. Searching for the right Regex and testing it every single time is incredibly time-consuming.
To solve this exact problem, I created ind-utils-pro.
๐ Key Features:
- Production Ready: All validation patterns are updated according to the latest government formats.
- Lightweight: Zero external dependencies. It keeps your bundle size minimal.
- TypeScript First: Built with TypeScript for a superior developer experience and full Intellisense support.
- Versatile: Works seamlessly across Angular, React, Node.js, or even Vanilla JS.
๐ฆ Installation
npm install ind-utils-pro
๐ป Quick Example
TypeScript
import { validatePAN, validateGST, validateAadhar, validateIFSC } from 'ind-utils-pro';
// Validate PAN Card
console.log(validatePAN('ABCDE1234F')); // returns true/false
// Validate GST Number
console.log(validateGST('22AAAAA0000A1Z5')); // returns true/false
// Validate Aadhaar Number
console.log(validateAadhar('123456789012')); // returns true/false
// Validate IFSC Code
console.log(validateIFSC('SBIN0001234')); // returns true/false
๐ Why use this package?
Consistency: Use the exact same validation logic on both your frontend and backend.
Readability: Replace long, messy Regex strings with clean, descriptive functions.
Open Source: Built by the community, for the communityโand it will always stay that way.
๐ Useful Links:
NPM: https://www.npmjs.com/package/ind-utils-pro/v/1.2.0
GitHub: https://github.com/DHRUV0021
Version 1.2.0 is now live! If this library saves you time, please consider giving it a โญ๏ธ on GitHub.
Top comments (0)