is-valid-pesel

    1.0.0 • Public • Published

    npm downloads CI tested with jest

    is-valid-pesel

    Check if a number is a valid PESEL.

    tl;dr

    • Install by executing npm install is-valid-pesel or yarn add is-valid-pesel.
    • Import by adding import isValidPESEL from 'is-valid-pesel'.
    • Use it by writing const valid = isValidPESEL('50062373028')

    See also

    • is-valid-nip: Check if a number is a valid Numer Identyfikacji Podatkowej (NIP).
    • is-valid-regon: Check if a number is a valid REGON.

    Examples

    > isValidPESEL('50062373028');
    < true

    License

    The MIT License.

    Author

    Wojciech Maj
    kontakt@wojtekmaj.pl
    https://wojtekmaj.pl

    Install

    npm i is-valid-pesel

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    9.38 kB

    Total Files

    9

    Last publish

    Collaborators

    • wojtekmaj