idnumbers
    Preparing search index...

    The Identity Number of Israel. This page is generated from the registry metadata of the library.

    Property Value
    Country code ISR, IL
    ID type Identity Number
    Official name מספר זהות (Mispar Zehut)
    Also known as Identity Number; מספר זהות; Mispar Zehut
    Display format #########
    Input masks #########
    Length 9
    Example 000000018
    Checksum yes
    Checksum algorithm Luhn (mod 10)
    Parsable no

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('ISR', '000000018').isValid; // true

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

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

    register(country);
    validateNationalId('ISR', '000000018').isValid; // true