idnumbers
    Preparing search index...

    The Civil Number of Kuwait. This page is generated from the registry metadata of the library.

    Property Value
    Country code KWT, KW
    ID type Civil Number
    Official name الرقم المدني (Civil Number)
    Also known as Civil Number; الرقم المدني
    Display format CYYMMDDSSSSK
    Input masks ############
    Length 12
    Example 280010100004
    Checksum yes
    Checksum algorithm Weighted sum mod 11 (weights 2,1,6,3,7,9,10,5,8,4,2; check = 11 - remainder)
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('KWT', '280010100004').isValid; // true

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

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

    register(country);
    validateNationalId('KWT', '280010100004').isValid; // true