idnumbers
    Preparing search index...

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

    Property Value
    Country code NOR, NO
    ID type National Identity Number
    Official name Fødselsnummer
    Also known as National ID Number; fødselsnummer; birth number; riegádannummir
    Display format DDMMYYIIIKK
    Input masks ###########
    Length 11
    Example 17054026641
    Checksum yes
    Checksum algorithm Two control digits, each weighted mod 11
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('NOR', '17054026641').isValid; // true

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

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

    register(country);
    validateNationalId('NOR', '17054026641').isValid; // true