Noncollinear Perpendicular Microcrystalline

    is-valid-abn

    1.1.0 • Public • Published

    npm downloads tested with jest

    is-valid-abn

    Check if a number is a valid Australian Business Number (ABN).

    tl;dr

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

    Examples

    > isValidABN('83914571673');
    < true
     
    > isValidABN('83 914 571 673');
    < true
     
    > isValidABN('83-914-571-673');
    < true

    License

    The MIT License.

    Author

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

    Install

    npm i is-valid-abn

    DownloadsWeekly Downloads

    355

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    7.39 kB

    Total Files

    13

    Last publish

    Collaborators

    • wojtekmaj