idnumbers
    Preparing search index...

    The National ID Number of Nepal. This page is generated from the registry metadata of the library.

    Property Value
    Country code NPL, NP
    ID type National ID Number
    Official name National Identity Number (NIN)
    Also known as National ID Number; NIN
    Display format ###########
    Input masks ###########
    Length 11
    Example 12345678901
    Checksum no
    Checksum algorithm None (format/length only)
    Parsable no

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('NPL', '12345678901').isValid; // true

    To bundle only this country, import its definition from idnumbers/countries/npl and pass it to register():

    import { register, validateNationalId } from 'idnumbers/core';
    import { country } from 'idnumbers/countries/npl';

    register(country);
    validateNationalId('NPL', '12345678901').isValid; // true