Open Source PackageLive
indian-utils
Zero-dependency NPM package for validating PAN, Aadhaar, GSTIN, IFSC, UPI & more.
Overview
Lightweight NPM package with validators for Indian document formats: PAN (with holder type detection), Aadhaar (Verhoeff checksum), GSTIN (state code lookup + PAN extraction), IFSC (25+ bank names), phone numbers, PIN codes, and UPI IDs. Tree-shakeable, zero dependencies, TypeScript declarations included.
Features
- PAN validation + holder type detection
- Aadhaar Verhoeff checksum verification
- GSTIN validation + state/PAN extraction
- IFSC code validation + bank lookup
- Phone number normalization (+91)
- Zero dependencies, TypeScript ready