Neverending Programming Mistakes

    is-valid-regon

    1.0.0 • Public • Published

    npm downloads CI tested with jest

    is-valid-regon

    Check if a number is a valid REGON.

    tl;dr

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

    See also

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

    Examples

    > isValidREGON('817613530');
    < true
    
    > isValidREGON('12345678512347');
    < true

    License

    The MIT License.

    Author

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

    Install

    npm i is-valid-regon

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    12.7 kB

    Total Files

    9

    Last publish

    Collaborators

    • wojtekmaj