idnumbers
    Preparing search index...

    The Personal Code of Lithuania. This page is generated from the registry metadata of the library.

    Property Value
    Country code LTU, LT
    ID type Personal Code
    Official name asmens kodas
    Also known as Personal Code; asmens kodas
    Display format GYYMMDDSSSC
    Input masks ###########
    Length 11
    Example 39001010077
    Checksum yes
    Checksum algorithm Weighted sum mod 11 (two passes; 10 -> 0)
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('LTU', '39001010077').isValid; // true

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

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

    register(country);
    validateNationalId('LTU', '39001010077').isValid; // true