The Aadhaar (UID) of India. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | IND, IN |
| ID type | Aadhaar (UID) |
| Official name | Aadhaar (आधार) |
| Also known as | National ID Number; Unique Identification Number; UID; Aadhaar |
| Display format | XXXX XXXX XXXX |
| Input masks | #### #### #### |
| Length | 12 to 14 |
| Example | 892473528038 |
| Checksum | yes |
| Checksum algorithm | Verhoeff algorithm |
| Parsable | no |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('IND', '892473528038').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/ind and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/ind';
register(country);
validateNationalId('IND', '892473528038').isValid; // true