idnumbers
    Preparing search index...

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

    Property Value
    Country code EGY, EG
    ID type National ID
    Official name الرقم القومي (National Number)
    Also known as National ID; الرقم القومي; National Number
    Display format CYYMMDDGGSSSSV
    Input masks ##############
    Length 14
    Example 29001010100017
    Checksum no
    Checksum algorithm None (check digit algorithm not publicly documented; format + semantic validation, no check-digit validation). See docs/research/egypt-national-id.md.
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('EGY', '29001010100017').isValid; // true

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

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

    register(country);
    validateNationalId('EGY', '29001010100017').isValid; // true