idnumbers
    Preparing search index...

    The National ID Number of Papua New Guinea. This page is generated from the registry metadata of the library.

    Property Value
    Country code PNG, PG
    ID type National ID Number
    Official name National Identification Number (NID)
    Also known as National ID Number; NID
    Display format ##########
    Input masks ##########
    Length 10
    Example 1234567890
    Checksum no
    Checksum algorithm None (format/length only)
    Parsable no

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('PNG', '1234567890').isValid; // true

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

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

    register(country);
    validateNationalId('PNG', '1234567890').isValid; // true